From: Wolfgang Denk Date: Fri, 16 Apr 2010 15:23:03 +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> <20100416074129.34B45C36DCE@gemini.denx.de> Message-ID: <20100416132303.5063EC36DCE@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: > > The problem with the current structure is that there is no way of > knowing which $BOARD in board/ uses a particular CPU or SOC. Therefore So look it up in the Makefile, or in MAKEALL - what's exactly the problem? > Exactly - Any code that exists under multiple existing $BOARDx dirs > which is only duplicated 'by bad example' and is, in reality, CPU or SOC > specific should be moved into the appropriate arch/ dir. Once the > /board/$[cpu, soc]-generic/$BOARD move has been been done, identifying > the duplicate code will be that much easier Identification of such code has never been a real problem. The problem is that it needs somebody to come up with patches to clean up the mess. I doubt that the number of volunteers will significantly grow just by reorganizing the directory structure. 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 Well, the way I see it, logic is only a way of being ignorant by num- bers. - Terry Pratchett, _Small Gods_