summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
...
| * | ColdFire: Fix the compile issue for M52277Jason Jin2011-11-07-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | After commit 327474f854a33b5b7a11c374b0446d1d40d9f673, the M52277EVB_stmicro configuration fail to build. Fix it by moving the env outside the flash and update the lds file. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| * | ColdFire:Moving the remaining coldfire boards to boards.cfgJason Jin2011-11-07-108/+13
| |/ | | | | | | | | | | | | | | Move the coldfire boards to boards.cfg. The config name for the EB+MCF-EV123 boards are changed to EB-MCF-EV123 as the '+' cannot be recognized. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
* | Merge branch 'master' of git://git.denx.de/u-boot-i2cWolfgang Denk2011-11-08-22/+25
|\ \ | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-i2c: Powerpc/i2c: Use the same initialize codes
| * | Powerpc/i2c: Use the same initialize codesJerry Huang2011-11-04-22/+25
| |/ | | | | | | | | | | Make the I2C2 and I2C1 use the same initialize codes. Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
* | board/siemens/SCM/scm.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-1/+2
| | | | | | | | | | | | | | | | | | Fix: scm.c: In function 'config_scoh_cs': scm.c:400:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/funkwerk/vovpn-gw/vovpn-gw.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-1/+2
| | | | | | | | | | | | | | | | | | Fix: vovpn-gw.c: In function 'misc_init_r': vovpn-gw.c:266:16: warning: variable 'temp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/freescale/mpc8266ads/mpc8266ads.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-2/+0
| | | | | | | | | | | | | | | | | | Fix: mpc8266ads.c: In function 'initdram': mpc8266ads.c:278:9: warning: variable 'spd_size' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/freescale/mpc8266ads/mpc8266ads.c: CodingStyle cleanupWolfgang Denk2011-11-07-290/+304
| | | | | | | | | | | | | | Make (mostly) checkpatch clean. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Rune Torgersen <runet@innovsys.com>
* | board/sacsng/sacsng.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-2/+0
| | | | | | | | | | | | | | | | | | | | Fix: sacsng.c: In function 'initdram': sacsng.c:180:9: warning: variable 'spd_size' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
* | board/sacsng/sacsng.c: CodingStyle cleanupWolfgang Denk2011-11-07-666/+663
| | | | | | | | | | | | | | Make (mostly) checkpatch clean. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
* | board/rpxsuper/flash.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-3/+2
| | | | | | | | | | | | | | | | | | Fix: flash.c: In function 'flash_init': flash.c:52:19: warning: variable 'size' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/rpxsuper/flash.c: minimal CodingStyle cleanupWolfgang Denk2011-11-07-24/+23
| | | | | | | | | | | | | | Really minimal and local, just good enough to make checkpatch not complain about the changes in the following commit. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/ids8247/ids8247.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-2/+1
| | | | | | | | | | | | | | | | | | | | Fix: ids8247.c: In function 'initdram': ids8247.c:284:14: warning: variable 'lsize' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
* | board/hymod/input.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-2/+1
| | | | | | | | | | | | | | | | | | | | Fix: input.c: In function 'hymod_get_ethaddr': input.c:79:10: warning: variable 'ea' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Murray Jensen <Murray.Jensen@csiro.au>
* | board/ep82xxm/ep82xxm.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-1/+2
| | | | | | | | | | | | | | | | | | Fix: ep82xxm.c: In function 'initdram': ep82xxm.c:233:16: warning: variable 'ramtmp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/gw8260/flash.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-2/+1
| | | | | | | | | | | | | | | | | | | | Fix: flash.c: In function 'flash_init': flash.c:81:16: warning: variable 'size' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Oliver Brown <obrown@adventnetworks.com>
* | board/gw8260/flash.c: minimal CodingStyle cleanupWolfgang Denk2011-11-07-41/+38
| | | | | | | | | | | | | | | | Really minimal and local, just good enough to make checkpatch not complain about the changes in the following commit. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Oliver Brown <obrown@adventnetworks.com>
* | board/cogent/flash.c: Fix GCC 4.6 buiild warningWolfgang Denk2011-11-07-1/+2
| | | | | | | | | | | | | | | | | | | | Fix: flash.c: In function 'flash_init': flash.c:295:16: warning: variable 'fip' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Murray Jensen <Murray.Jensen@csiro.au>
* | arch/powerpc/cpu/mpc8260/spi.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Fix: spi.c: In function 'spi_init_r': spi.c:279:22: warning: variable 'cp' set but not used [-Wunused-but-set-variable] spi.c: In function 'spi_xfer': spi.c:361:22: warning: variable 'cp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | common/cmd_flash.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: cmd_flash.c:355:32: warning: 'info' may be used uninitialized in this function [-Wuninitialized] cmd_flash.c:354:10: warning: 'sect_first' may be used uninitialized in this function [-Wuninitialized] cmd_flash.c:354:10: warning: 'sect_last' may be used uninitialized in this function [-Wuninitialized] cmd_flash.c: In function 'do_protect': cmd_flash.c:540:9: warning: 'info' may be used uninitialized in this function [-Wuninitialized] cmd_flash.c:538:9: warning: 'sect_first' may be used uninitialized in this function [-Wuninitialized] cmd_flash.c:538:9: warning: 'sect_last' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | drivers/net/rtl8139.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-30/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: rtl8139.c: In function 'rtl8139_probe': rtl8139.c:256:15: warning: variable 'fullduplex' set but not used [-Wunused-but-set-variable] rtl8139.c:256:6: warning: variable 'speed10' set but not used [-Wunused-but-set-variable] rtl8139.c: In function 'rtl_transmit': rtl8139.c:419:16: warning: variable 'txstatus' set but not used [-Wunused-but-set-variable] Change code to use new debug macros; also fix the new errors and warnigns popping up now, like "error: 'to' undeclared" and some "warning: format '%X' expects argument of type 'unsigned int', but argument X has type 'long unsigned int'" Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/linkstation/ide.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: ide.c: In function 'ide_preinit': ide.c:69:21: warning: array subscript is above array bounds [-Warray-bounds] ide.c:69:21: warning: array subscript is above array bounds [-Warray-bounds] ide.c:70:17: warning: array subscript is above array bounds [-Warray-bounds] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Reviewed-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
* | drivers/net/rtl8169.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-3/+0
| | | | | | | | | | | | | | | | | | Fix: rtl8169.c: In function 'rtl_init': rtl8169.c:742:13: warning: variable 'printed_version' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/mousse/flash.c: Fix GCC 4.6 buil warningsWolfgang Denk2011-11-07-7/+1
| | | | | | | | | | | | | | | | | | | | | | Fix: flash.c: In function 'flash_erase': flash.c:780:18: warning: variable 'l_sect' set but not used [-Wunused-but-set-variable] flash.c:779:11: warning: variable 'addr' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/etin/kvme080/multiverse.c: Fix GCC 4.6 build warning.Wolfgang Denk2011-11-07-1/+2
| | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Sangmoon Kim <dogoil@etinsys.com>
* | drivers/net/pcnet.c: Change debug code to fix build warningWolfgang Denk2011-11-07-13/+4
| | | | | | | | | | | | | | | | | | | | Fix: pcnet.c: In function 'pcnet_probe': pcnet.c:247:8: warning: variable 'chipname' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Wolfgang Grandegger <wg@denx.de>
* | board/alaska/flash.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: flash.c: In function 'flash_erase': flash.c:409:21: warning: variable 'last' set but not used [-Wunused-but-set-variable] flash.c:408:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:669:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data_block': flash.c:709:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | arch/powerpc/lib/bat_rw.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-1/+2
| | | | | | | | | | | | | | | | | | | | | | Fix: bat_rw.c: In function 'write_bat': bat_rw.c:38:6: warning: variable 'batn' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Andy Fleming <afleming@gmail.com>
* | mpc8220/i2c.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-4/+2
| | | | | | | | | | | | | | | | | | | | Fix: i2c.c: In function 'wait_for_bb': i2c.c:109:16: warning: variable 'temp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
* | mpc8260/i2c.c: replace PRINTD() by debug()Wolfgang Denk2011-11-07-49/+40
| | | | | | | | | | | | | | | | | | | | | | | | This also fixes some GCC 4.6 build warnings like: i2c.c: In function 'i2c_init': i2c.c:221:26: warning: variable 'txbd' set but not used [-Wunused-but-set-variable] i2c.c:221:19: warning: variable 'rxbd' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
* | mpc8260/i2c.c: CodingStyle cleanupWolfgang Denk2011-11-07-270/+264
| | | | | | | | | | | | | | | | | | Make (mostly) checkpatch clean (don't convert to use I/O accessors yet, so there will be "Use of volatile is usually wrong" warnings left. Also accept some other harmless checkpatch warnings. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
* | mpc8220/fec.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-3/+3
| | | | | | | | | | | | | | | | | | Fix: fec.c: In function 'mpc8220_fec_recv': fec.c:733:8: warning: variable 'frame' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | common/cmd_i2c.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-3/+1
| | | | | | | | | | | | | | | | | | | | Fix: cmd_i2c.c: In function 'do_i2c_add_bus': cmd_i2c.c:1212:19: warning: variable 'dev' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
* | board/tqc/tqm8272/tqm8272.c: Fix GCC 4.6 build warning:Wolfgang Denk2011-11-07-2/+1
| | | | | | | | | | | | | | | | | | Fix: tqm8272.c: In function 'initdram': tqm8272.c:462:14: warning: variable 'lsize' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | mpc8260/speed.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-10/+1
| | | | | | | | | | | | | | | | | | | | | | Fix: speed.c: In function 'get_clocks': speed.c:113:30: warning: variable 'cpmdf' set but not used [-Wunused-but-set-variable] speed.c:113:23: warning: variable 'busdf' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | TQM850M: Add missing CONFIG_BOOTDELAYWolfgang Denk2011-11-07-0/+2
| | | | | | | | | | | | | | | | | | This also fixes a build warning: main.c: In function 'main_loop': main.c:311:16: warning: variable 'bootlimit' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/svm_sc8xx/flash.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-3/+1
| | | | | | | | | | | | | | | | | | Fix: flash.c: In function 'write_word': flash.c:542:15: warning: variable 'last' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/svm_sc8xx/flash.c: CodingStyle cleanupWolfgang Denk2011-11-07-470/+357
| | | | | | | | | | | | | | | | Make (mostly) checkpatch clean (don't convert to use I/O accessors yet, so there will be "Use of volatile is usually wrong" warnings left. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/svm_sc8xx/svm_sc8xx.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-4/+1
| | | | | | | | | | | | | | | | | | Fix: svm_sc8xx.c: In function 'checkboard': svm_sc8xx.c:83:6: warning: variable 'board_type' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/rbc823/flash.c: Fix flash initalizationWolfgang Denk2011-11-07-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RBC823 has only one NOR flash bank. Remove all code trying to deal with a second bank. This also fixes a number of GCC 4.6 build warnings: flash.c: In function 'flash_init': flash.c:62:12: warning: array subscript is above array bounds [-Warray-bounds] flash.c:63:12: warning: array subscript is above array bounds [-Warray-bounds] flash.c:66:12: warning: array subscript is above array bounds [-Warray-bounds] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/rbc823/flash.c: CodingStyle cleanupWolfgang Denk2011-11-07-182/+180
| | | | | | | | | | | | | | | | Make (mostly) checkpatch clean (don't convert to use I/O accessors yet, so there will be "Use of volatile is usually wrong" warnings left. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/fads/fads.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-1/+3
| | | | | | | | | | | | | | | | | | Fix: fads.c: In function 'initdram': fads.c:606:7: warning: variable 'base' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/mbx8xx/mbx8xx.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: mbx8xx.c: In function 'mbx_init': mbx8xx.c:127:15: warning: variable 'refclock' set but not used [-Wunused-but-set-variable] mbx8xx.c: In function 'board_get_cpufreq': mbx8xx.c:231:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] mbx8xx.c: In function 'get_reffreq': mbx8xx.c:242:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | mpc8xx/spi.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-4/+0
| | | | | | | | | | | | | | | | | | | | | | Fix: spi.c: In function 'spi_init_f': spi.c:144:21: warning: variable 'iop' set but not used [-Wunused-but-set-variable] spi.c:142:22: warning: variable 'cpi' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | net/net.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-3/+1
| | | | | | | | | | | | | | | | | | Fix: net.c: In function 'CDPHandler': net.c:1083:8: warning: variable 'applid' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/genietv/flash.c: Fix flash initializationWolfgang Denk2011-11-07-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GENIETV has only one NOR flash bank. Remove all code trying to deal with a second bank. This also fixes a number of GCC 4.6 build warnings: flash.c:65:12: warning: array subscript is above array bounds [-Warray-bounds] flash.c:66:12: warning: array subscript is above array bounds [-Warray-bounds] flash.c:69:12: warning: array subscript is above array bounds [-Warray-bounds] flash.c:183:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type ' Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/genietv/flash.c: CodingStyle cleanupWolfgang Denk2011-11-07-177/+179
| | | | | | | | | | | | | | Make (mostly) checkpatch clean (don't convert to use I/O accessors yet, so there will be "Use of volatile is usually wrong" warnings left. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/etx094/flash.c: Fix flash initializationWolfgang Denk2011-11-07-51/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ETX094 has only one NOR flash bank. Remove all code trying to deal with a second bank. This also fixes a number of GCC 4.6 build warnings: flash.c: In function 'flash_init': flash.c:68:13: warning: array subscript is above array bounds [-Warray-bounds] flash.c:70:13: warning: array subscript is above array bounds [-Warray-bounds] flash.c:72:13: warning: array subscript is above array bounds [-Warray-bounds] flash.c:128:13: warning: array subscript is above array bounds [-Warray-bounds] flash.c:129:13: warning: array subscript is above array bounds [-Warray-bounds] flash.c:133:12: warning: array subscript is above array bounds [-Warray-bounds] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/etx094/flash.c: CodingStyle cleanupWolfgang Denk2011-11-07-187/+178
| | | | | | | | | | | | | | Make (mostly) checkpatch clean (don't convert to use I/O accessors yet, so there will be "Use of volatile is usually wrong" warnings left. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | mpc8xx/i2c.c: replace PRINTD() by debug()Wolfgang Denk2011-11-07-48/+46
| | | | | | | | | | | | | | | | | | This also fixes some GCC 4.6 build warnings like: warning: variable 'txbd' set but not used [-Wunused-but-set-variable] warning: variable 'rxbd' set but not used [-Wunused-but-set-variable] Signed-off-by: WOlfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>