From: Wolfgang Denk Date: Fri, 16 Apr 2010 09:41:29 +0200 Subject: [U-Boot] [STATUS] Heads-up: Reorganize directory structure In-Reply-To: References: <20100415152247.3891BEEE8D9@gemini.denx.de> <20100413092323.44D8719F60@gemini.denx.de> <4BC6BAD2.8040908@monstr.eu> <20100415075232.77202EEE8D8@gemini.denx.de> <1271343853.6519.6.camel@localhost.localdomain> <20100415153127.GA628@morgana.gnudd.com> <1271347099.6519.18.camel@localhost.localdomain> Message-ID: <20100416074129.34B45C36DCE@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 Graeme Russ, In message you wrote: > > And then there is also > > board/ > $BOARDC > $BOARDD > > I've never liked code existing on multiple depths like this. Maybe we move > towards: But we're just about adding exactly such multi-depth structures to the CPU directory (see recent discussion about "ARM: reorganize Cortex directory"). If you don't like this you should raise your voice in that thread. > board/ > $VENDOR > include/ > lib/ > $BOARDA/ > $BOARDB/ > $_generic/ > $BOARDC/ > $BOARDD/ I see not much benefit in artificially distributing the misc boards into several directories. > Any code that would otherwise live under $_generic/[include, lib] > should (by definition) be moved to arch/$/[include, lib] That makes even less sense to me. Such could would usually be highly board specific. [There are of course lots of bad examples, where generic code gets copied & pasted from one board directory to the next one and so on, but factoring out such common code is a task that is orthogonal to this discussion, i. e. it could be done in the existing directory structure (or any other) as well. 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 A morsel of genuine history is a thing so rare as to be always valuable. - Thomas Jefferson