ARM: davinci: implement DEBUG_LL port choice
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 22 Mar 2012 09:29:23 +0000 (10:29 +0100)
committerSekhar Nori <nsekhar@ti.com>
Wed, 9 May 2012 11:36:41 +0000 (17:06 +0530)
commit477099f189101a6675d93782164446015a3633bd
tree677b55af560fd901db5c3ab21591eab43cf82b69
parentd48b97b403d23f6df0b990cee652bdf9a52337a3
ARM: davinci: implement DEBUG_LL port choice

Apart from the necessity to do this change for multi-platform kernels
the previous logic depended on the zImage decompressor to write the
physical and virtual address to a magic memory location.
If the decompressor is unused or not correctly configured for the
current machid, the addruart macro was an infinite loop. Moreover
debugging the early zImage code was not possible either.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[nsekhar@ti.com: add braces in _DEBUG_LL_ENTRY() macro to fix checkpatch
error. Fix debug port choice config dependency for traditional DaVincis.
Modify debug port config names and add help text.]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/Kconfig.debug
arch/arm/mach-davinci/include/mach/debug-macro.S
arch/arm/mach-davinci/include/mach/hardware.h
arch/arm/mach-davinci/include/mach/serial.h
arch/arm/mach-davinci/include/mach/uncompress.h