[PATCH 1/2] ARM: vexpress: add debug UARTs to DEBUG_LL kconfig choice

Pawel Moll pawel.moll at arm.com
Thu Jul 5 05:38:00 EDT 2012


On Thu, 2012-07-05 at 10:33 +0100, Will Deacon wrote:
> Hi Pawel,
> 
> On Thu, Jul 05, 2012 at 10:23:52AM +0100, Pawel Moll wrote:
> > On Wed, 2012-07-04 at 16:01 +0100, Will Deacon wrote:
> > > This patch avoids probing the various possible UART locations on the
> > > different Versatile Express motherboards and instead adds entries into
> > > the DEBUG_LL kconfig choice for the two possible memory maps.
> > 
> > I wrote similar thing (keeping the autodetection as one of the options)
> > some time ago, but Russell didn't like it (because it wasn't DEBUG_LL
> > choice) and I didn't have time to rework it for 3.5 merge window. Will
> > get this out this time.
> 
> Ok, thanks. We have similar code in mach/uncompress.h -- how do you feel
> about using the same approach there? I've seen the decompressor explode due
> to the mrc and it's a royal pain to track down.

This was the reason my Kconfig options weren't in DEBUG_LL but in
ARCH_VEXPRESS - to serve both decompressor and early console. But as it
was NAKed I'm considering several options, one (the simplest) of them is
printing nothing in the decompressor unless DEBUG_LL is selected.

Paweł





More information about the linux-arm-kernel mailing list