[PATCH] ARM: Add config option DEBUG_DECOMPRESS_KERNEL

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Sep 17 15:41:43 EDT 2012


On Mon, Sep 17, 2012 at 03:08:44PM +0200, Maximilian Schwerin wrote:
> This change allows preventing the message "Uncompressing Linux..." from
> being sent to serial port. This is necessary if the primary serial port is
> used for something other than kernel debugging (e.g. some external device
> controlled by serial commands).

You know, it doesn't have to go to the serial port.  It can go to
anything. We have at least one platform where it goes to the framebuffer
instead, but getting access to the framebuffer is a whole new load of
platform dependence that we don't want here.

In any case, ifdefing out the callsites is not the correct approach.
We already have this stuff fairly well abstracted, and there's no reason
why this can't be done by defining empty putc() and flush() functions.




More information about the linux-arm-kernel mailing list