From: Wolfgang Denk Date: Tue, 10 May 2011 22:45:19 +0200 Subject: [U-Boot] [PATCH 08/30] powerpc/km82xx: rename mgcoge2ne to mgcoge3ne board support In-Reply-To: <4DBE77C1.7020806@keymile.com> References: <20110430080512.F1873D5270E@gemini.denx.de> <4DBE6962.1010609@keymile.com> <20110502084247.E7FC41537B0@gemini.denx.de> <4DBE77C1.7020806@keymile.com> Message-ID: <20110510204519.F227ED6F237@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 Holger Brunck, In message <4DBE77C1.7020806@keymile.com> you wrote: > > >> the SDRAM configuration is different to mgcoge. And the CFI flash on mgcoge has > >> a dual die in a single chip and therefore e.g.CONFIG_SYS_MAX_FLASH_BANKS is > >> different to mgcoge3ne. > > > > OK, but these can trivially be handled within one set of board files. > > with a lot of #ifdef MGCOGE3NE in one config file or do I misunderstand something? Well, I would expect to have one #ifdef for the SDRAM configuration, and another one for CONFIG_SYS_MAX_FLASH_BANKS - both in the common board config file. > So your proposal would be to do something like > mgcoge powerpc mpc8260 km82xx keymile - mgcoge3ne:MGCOGE3NE,... > in boards.cfg and only one config file for both boards? Yes. 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 "'Tis true, 'tis pity, and pity 'tis 'tis true." - Poloniouius, in Willie the Shake's _Hamlet, Prince of Darkness_