From: Wolfgang Denk Date: Thu, 13 Dec 2012 11:29:50 +0100 Subject: [U-Boot] [PATCH] ns16550: allow UART address to be set dynamically In-Reply-To: <50C918A5.6090207@wwwdotorg.org> References: <1355354590-10023-1-git-send-email-swarren@wwwdotorg.org> <50C918A5.6090207@wwwdotorg.org> Message-ID: <20121213102950.17EC320120D@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 <50C918A5.6090207@wwwdotorg.org> you wrote: > > > This seems reasonable in the interim while we are hard-coding things > > but needing more flexibility. How do you plan to configure the actual > > address - is it with the ODM data or FDT? > > I intend to use the ODMDATA. This already includes a field that > specifies which UART to use. I'm working on some patches (to > BCT-generation tools and U-Boot) that define an ODMDATA2 value, which > will indicate the complete pinmux configuration required for the UART, > so everything can be self-contained. I'm fairly close to publishing > these patches. Arghh... Do we really, really have to invent yet another way to pass hardware configuration information? Especially one totally incompatible to any other system? I think I will be objecting against such an approach. Please use the device tree instead. 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 Virtue is a relative term. -- Spock, "Friday's Child", stardate 3499.1