From: Ben Warren Date: Tue, 03 Apr 2007 15:47:37 -0400 Subject: [U-Boot-Users] Where to put semi-common files? In-Reply-To: <200704032129.36433.sr@denx.de> References: <1175627358.17141.51.camel@ld0161-tx32> <200704032129.36433.sr@denx.de> Message-ID: <1175629657.22632.9.camel@saruman.qstreams.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Stefan/Jon, On Tue, 2007-04-03 at 21:29 +0200, Stefan Roese wrote: > I would suggest to start moving your Freescale boards ports into a freescale > directly: > > board/freescale/mpc8349itx/ > /mpc832xemds/ > ... > > Then you could add a common freescale directory, as done already for "esd" > or "prodrive": > > board/esd/common/ > > If you take a look at this directory you will notice here some common FPGA > code (and others stuff too). This is not CPU specific and not a generic > driver, so it shouldn't be moved to the cpu/xxx or drivers/xxx directories. This seems like the right approach. This is definitely a 'board' thing, not a 'driver' or 'cpu' thing. The important thing to remember is that the Freescale evaluation board ports are used as starting points for many other designs that won't have this particular FPGA, so we need to make it obvious that it's particular to the board. Good initiative on Jon's part in removing duplication. regards, Ben