From mboxrd@z Thu Jan 1 00:00:00 1970 From: nico@fluxnic.net (Nicolas Pitre) Date: Thu, 03 Feb 2011 22:39:33 -0500 (EST) Subject: [PATCH 0/2] Allow using machine ID for DEBUG_LL macros In-Reply-To: <20110204031307.GS3322@atomide.com> References: <20110204012008.26298.16341.stgit@baageli.muru.com> <20110204031307.GS3322@atomide.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 3 Feb 2011, Tony Lindgren wrote: > * Nicolas Pitre [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