From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 28 Jul 2008 12:32:55 -0500 Subject: [U-Boot-Users] using a flat device tree to drive u-boot config In-Reply-To: References: Message-ID: <488E02C7.5000106@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Ben Warren wrote: > On Mon, Jul 28, 2008 at 8:07 AM, Kumar Gala wrote: >> One topic that come up during OLS in discussions and u-boot BOF was >> the idea of driving u-boot configuration from a device tree instead of >> from "config.h". I was wondering if anyone has actually looked at >> doing this. >> > This sounds like an interesting idea, having a central repo for all > hardware information. A big problem I see is that while device-tree > syntax may make sense to Linux kernel propellerheads, to the average > Joe it's mind-numbing. Config files are ugly, but at least IMHO are > easy to figure out. I find a device tree much easier to figure out than a tangled mess of header files, #defines, and #ifdefs... -Scott