[PATCH 1/3] ARM: debug: use kconfig choice for selecting DEBUG_LL UART
Will Deacon
will.deacon at arm.com
Thu Aug 18 05:33:14 EDT 2011
On Thu, Aug 18, 2011 at 05:06:25AM +0100, Nicolas Pitre wrote:
> On Tue, 16 Aug 2011, Will Deacon wrote:
>
> > Enabling CONFIG_DEBUG_LL (which is required for earlyprintk) hardwires
> > the debug UART address into the kernel, so that we can print before the
> > platform is initialised.
> >
> > If the user inadvertently selects multiple platforms with DEBUG_LL
> > enabled, the UART address may not be correct and will likely cause the
> > kernel to hang in the very early stages of boot.
> >
> > This patch, based on a skeleton from Russell, uses a Kconfig choice for
> > selecting the DEBUG_LL UART, therefore allowing the user to make a
> > choice about the supported platform when DEBUG_LL is enabled.
> >
> > Cc: Linus Walleij <linus.walleij at stericsson.com>
> > Signed-off-by: Will Deacon <will.deacon at arm.com>
>
> Acked-by: Nicolas Pitre <nicolas.pitre at linaro.org>
>
> (ditto for the other 2 patches)
Thanks Nicolas. Hopefully some of the other platforms will start using this
once it's merged.
Will
More information about the linux-arm-kernel
mailing list