From: Wolfgang Denk Date: Mon, 17 Dec 2012 23:37:45 +0100 Subject: [U-Boot] [PATCH] ns16550: allow UART address to be set dynamically In-Reply-To: <50CF9BAA.3050504@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> <50CBABF6.7040104@wwwdotorg.org> <50CF89F7.307@ti.com> <50CF9BAA.3050504@wwwdotorg.org> Message-ID: <20121217223745.0476C202B05@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 <50CF9BAA.3050504@wwwdotorg.org> you wrote: > > There are many ways besides device tree to enumerate hardware. For > example, consider PCI or USB (albeit USB isn't memory mapped). I don't Yes, there are. But your console port cannot be compred against dynamically populated and scannable bus interfaces like USB or PCI, and I think you are aware of that. > think we should tie any new U-Boot dynamic device registration API to > device tree, since that would seem to prevent (or imply against) usage > of that API with PCI for example. Not any dynamic device registration. But here, it actually AIN'T dynamic - it is fully static, just board dependent. > Perhaps this is just bike-shedding over naming? No. > So that all of the following cases could call that: > > * DT parsing. > * PCI device enumeration. > * ODMDATA parsing. NAK. This is totally wrong. ODMDATA is just a different representation of information that could as well be encoded in a DT. PCI or USB bus scanning gives information which cannot be encoded in a DT passed to U-Boot (at least not unless you dynamically generate that DT using some other softeware performing such a bus scan). 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 If you hear an onion ring, answer it.