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 <s...@denx.de> > > Signed-off-by: Dirk Eibach <eib...@gdsys.de> > > Cc: Matthias Fuchs <matthias.fu...@esd.eu> > > 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: off...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot