]> git.sur5r.net Git - u-boot/commit
arm: omap5+: Add support for early debug
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 5 May 2017 08:15:27 +0000 (13:45 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:15 +0000 (08:37 -0400)
commit01fe1199d6e5dfce829a6c74c88ffd0472fb97c8
tree1b65f61b8789186bfcb98bd7f24d084588322f25
parentfbd6295da4d69ea32eaa477700d00ac8577a8212
arm: omap5+: Add support for early debug

For early debug, the following configs needs to be enabled:

CONFIG_DEBUG_UART=y
CONFIG_DEBUG_UART_OMAP=y
CONFIG_DEBUG_UART_CLOCK=48000000
CONFIG_DEBUG_UART_SHIFT=2
CONFIG_DEBUG_UART_ANNOUNCE=y

For DRA7xx:
CONFIG_DEBUG_UART_BASE=0x4806a000

For AM57xx:
CONFIG_DEBUG_UART_BASE=0x48020000

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/hwinit-common.c