ARM: 7737/1: fix kernel decompressor compilation error with CONFIG_DEBUG_SEMIHOSTING
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 29 May 2013 15:57:30 +0000 (16:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 5 Jun 2013 22:32:24 +0000 (23:32 +0100)
commit275236797916924103e133e3d7a7ea777c951273
tree60d7703653b50684b221689f0ff8d6463bf716f0
parentd683b96b072dc4680fc74964eca77e6a23d1fa6e
ARM: 7737/1: fix kernel decompressor compilation error with CONFIG_DEBUG_SEMIHOSTING

Selecting this option produces:

  AS      arch/arm/boot/compressed/debug.o
arch/arm/boot/compressed/debug.S:4:33: fatal error: mach/debug-macro.S: No such file or directory
compilation terminated.
make[3]: *** [arch/arm/boot/compressed/debug.o] Error 1

The semihosting support cannot be modelled into a senduart macro as
it requires memory space for argument passing.  So the
CONFIG_DEBUG_LL_INCLUDE may not have any sensible value and the include
directive should be omitted.

While at it, let's add proper semihosting output support to the
decompressor.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/boot/compressed/debug.S