[PATCH 1/3] ARM: debug: use kconfig choice for selecting DEBUG_LL UART
Tony Lindgren
tony at atomide.com
Tue Sep 6 05:28:17 EDT 2011
* Nicolas Pitre <nico at fluxnic.net> [110821 22:21]:
> On Sun, 21 Aug 2011, Russell King - ARM Linux wrote:
> >
> > The decompressor has nothing to do with this.
>
> Sure it does, since it relies on early serial output capabilities, just
> like earlyprintk, or possibly even the senduart code. Solving this once
> for them all, *appropriately*, would certainly be nice. I would be glad
> to see this need addressed without making further ugly abuses like the
> OMAP people did with their OMAP_UART_INFO and the
> arch/arm/plat-omap/include/plat/uncompress.h abomination.
Well the way the debug_ll code is currenty set up just won't scale.
The basic problem is that the debug_ll code should be machine specific,
not arch specific..
Probably the best long term solution is to set up the debug uart based
on DT data and initialize it in the uncompress code. Anybody debugging
lower level stuff can certainly patch in the ucompress debug_ll code.
Regards,
Tony
More information about the linux-arm-kernel
mailing list