From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 17 Jul 2009 19:05:07 +0200 Subject: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration In-Reply-To: <6E8E337F-3ED6-4F93-884E-8D7324D2DCF9@kernel.crashing.org> References: <1247838836-20340-1-git-send-email-sr@denx.de> <6E8E337F-3ED6-4F93-884E-8D7324D2DCF9@kernel.crashing.org> Message-ID: <200907171905.07765.sr@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 On Friday 17 July 2009 17:38:13 Kumar Gala wrote: > On Jul 17, 2009, at 8:53 AM, Stefan Roese wrote: > > This patch adds a generic command for programming I2C bootstrap > > eeproms on PPC4xx. An implementation for Canyonlands board is > > included. > > > > The command name is intentionally chosen not to be PPC4xx specific. > > This way other CPU's/SoC's can implement a similar command under > > the same name, perhaps with a different syntax. > > > > Usage on Canyonlands: > > > > => cpu_config > > Available configurations (I2C address 0x52): > > 600-nor - NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100 > > 600-nand - NAND CPU: 600 PLB: 200 OPB: 100 EBC: 100 > > 800-nor - NOR CPU: 800 PLB: 200 OPB: 100 EBC: 100 > > 800-nand - NAND CPU: 800 PLB: 200 OPB: 100 EBC: 100 > > 1000-nor - NOR CPU:1000 PLB: 200 OPB: 100 EBC: 100 > > 1000-nand - NAND CPU:1000 PLB: 200 OPB: 100 EBC: 100 > > 1066-nor - NOR CPU:1066 PLB: 266 OPB: 88 EBC: 88 *** > > 1066-nand - NAND CPU:1066 PLB: 266 OPB: 88 EBC: 88 > > => cpu_config 600-nor > > Using configuration: > > 600-nor - NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100 > > done (dump via 'i2c md 52 0.1 10') > > Reset the board for the changes to take effect > > > > Other 4xx boards will be migrated to use this command soon > > as well. > > > > Signed-off-by: Stefan Roese > > Signed-off-by: Dirk Eibach > > Cc: Matthias Fuchs > > we could use something similar on some of the FSL SoCs. What about > renaming this chip_config? When I see cpu I think of just CPU cores. "chip_config" is fine for me as well. If nobody objects or suggest something else, I'll send a new patch version in a days or two. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================