From mboxrd@z Thu Jan 1 00:00:00 1970 From: pawel.moll@arm.com (Pawel Moll) Date: Thu, 05 Jul 2012 10:38:00 +0100 Subject: [PATCH 1/2] ARM: vexpress: add debug UARTs to DEBUG_LL kconfig choice In-Reply-To: <20120705093348.GA3399@mudshark.cambridge.arm.com> References: <1341414076-20895-1-git-send-email-will.deacon@arm.com> <1341480232.1173.22.camel@hornet> <20120705093348.GA3399@mudshark.cambridge.arm.com> Message-ID: <1341481080.1173.28.camel@hornet> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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?