From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 13 Dec 2012 21:36:04 +0100 Subject: [U-Boot] [PATCH] ns16550: allow UART address to be set dynamically In-Reply-To: <50CA1BB8.4000704@wwwdotorg.org> References: <1355354590-10023-1-git-send-email-swarren@wwwdotorg.org> <50C918A5.6090207@wwwdotorg.org> <20121213102950.17EC320120D@gemini.denx.de> <50CA1BB8.4000704@wwwdotorg.org> Message-ID: <20121213203604.1DD9F201213@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stephen Warren, In message <50CA1BB8.4000704@wwwdotorg.org> you wrote: > > > Arghh... Do we really, really have to invent yet another way to pass > > hardware configuration information? Especially one totally > > incompatible to any other system? > > This is a special case for the console UART. The idea is to get that up > and running well before device tree is parsed in any way. For example, > Tegra's SPL doesn't touch the device tree in any way (or even know one > exists) but does want to print (possibly error) messages in a generic > fashion. Similarly, many problems could occur before the device tree is > parsed (e.g. the user forgets to provide one...), and having > specifically the console UART set up before that allows those errors to > be reported, rather than requiring a JTAG or similar debugger. > > My intent is that ODMDATA will definitely only be used for the console > UART, and will NOT be used for anything else like LCD, RTC, ... Those > other devices will certainly be configured via device tree. We've been there before, you know. OK - what is the scope of visibility of such code? Will it be strictly board specific only? Or SoC specific? Arch? Global? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I haven't lost my mind -- it's backed up on tape somewhere.