[PATCH 0/2] Allow using machine ID for DEBUG_LL macros
Nicolas Pitre
nico at fluxnic.net
Thu Feb 3 22:39:33 EST 2011
On Thu, 3 Feb 2011, Tony Lindgren wrote:
> * Nicolas Pitre <nico at fluxnic.net> [110203 18:01]:
> > On Thu, 3 Feb 2011, Tony Lindgren wrote:
> >
> > > Hi all,
> > >
> > > Here are two patches that allow using machine ID for DEBUG_LL
> > > macros by adding a new macro inituart.
> >
> > This won't work with the device tree support as the machine ID is then
> > replaced with a catch-it-all-with-dt-support machine ID.
>
> Hmm, maybe for device tree we could only have it initialized later
> on by setting up custom early_printk in early_printk.c based on the
> device tree data or machine ID?
>
> It won't work very early then though.. If we want it to work early
> we could allocate some fixed memory chunk for addruart etc functions
> for which the bootloader just passes addresses.
Nah... Let's keep relationship between the kernel and bootloaders to a
strict minimum. If necessary we'll find a way to extract that info from
the dtb in assembly. I'd suggest just continuing this excellent cleanup
for the time being.
Nicolas
More information about the linux-arm-kernel
mailing list