From: Wolfgang Denk Date: Fri, 14 Dec 2012 00:11:38 +0100 Subject: [U-Boot] [PATCH] ns16550: allow UART address to be set dynamically In-Reply-To: <50CA3E7A.8020407@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> <20121213203604.1DD9F201213@gemini.denx.de> <50CA3E7A.8020407@wwwdotorg.org> Message-ID: <20121213231138.E3BD42014FF@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 <50CA3E7A.8020407@wwwdotorg.org> you wrote: > > >> 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. > > I'm not quite sure what the implication is here. What I mean is: there have been a number of times before when we decided to do something more or less ugly because it appeared to be the easiest / fastest / most simple approacht at that time,and we were sure we would it need for this one special case only. Then it gor reused, and again, and it spread... > > OK - what is the scope of visibility of such code? Will it be > > strictly board specific only? Or SoC specific? Arch? Global? > > It's partially SoC-specific, partially global. Which exact parts would be global? I am aware that the capability to set the UART is obviously part of the global code. But the actual implementation of such setting would be not global at all, right? > Note that by "all" and "global" here, I'm talking relative to all Tegra > SoCs, not about anything non-Tegra. "SoC-specific" means different for > Tegra20, Tegra30, Tegra114, etc. OK. > Note that in the latter case, I haven't pushed out the patches which > document the UART pinmux fields yet, but will very soon; most likely as > soon as we've resolved this conversation. You guarantee that this all will remain strictly within Tegra specific areas, only? And only for the UART? 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 "The whole world is about three drinks behind." - Humphrey Bogart