From: Wolfgang Denk Date: Fri, 14 Dec 2012 23:35:03 +0100 Subject: [U-Boot] [PATCH] ns16550: allow UART address to be set dynamically In-Reply-To: <50CBA217.3070202@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> <50CA4056.8060900@ti.com> <50CA437F.7060704@wwwdotorg.org> <50CB8ED1.7020503@ti.com> <50CBA217.3070202@wwwdotorg.org> Message-ID: <20121214223503.A7AEB200CDB@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 <50CBA217.3070202@wwwdotorg.org> you wrote: > > Many (most, I assume) U-Boot builds don't use device tree at all > (yet?). I'm not sure we should tie any new mechanism for low-level > boot information into device tree, since that severely limits where it > can be used. We're talking about ways to pass hardware cosnfiguration information to the boot loader. From the software engineering point of view, there should be just one implementation for this feature, which is then used everywhere. The de-factor satndard for this functionaity is the device tree. Which means that any other approaches either need very strong reasons to exist, or should be adapted. > I'm not sure the information is generic enough to even represent in > device tree, or that it even makes sense to do so. The DT is as good a place for such information as any other. > A certain amount of that information duplicates what's in the Tegra > BCT, which is essentially part of the HW itself, since it's handled by There is more SoCs around than just Tegra, and a solution that fits all is definitely better than everybody implementing hos own private thingy. 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 Voodoo Programming: Things programmers do that they know shouldn't work but they try anyway, and which sometimes actually work, such as recompiling everything. - Karl Lehenbauer