summaryrefslogtreecommitdiff
path: root/board
Commit message (Collapse)AuthorAgeLines
...
| * | qong: Use mx31_set_gpr to setup USBH2 pinsFabio Estevam2011-11-03-1/+1
| | | | | | | | | | | | | | | | | | Instead of writing directly to the GPR register, use mx31_set_gpr to setup USBH2 pins. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
| * | mx31pdk: Add MC13783 PMIC supportFabio Estevam2011-11-03-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add MC13783 PMIC support. Tested by using the 'date' command, which reads the MC13783 RTC registers: MX31PDK U-Boot > date Date: 1970-01-01 (Thursday) Time: 2:22:35 Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
| * | MX35: added ESDC structure to imx-regsStefano Babic2011-11-03-18/+0
| |/ | | | | | | | | | | | | | | The structure and PLL defines are added to the imx-regs.h file and dropped from board header files. Signed-off-by: Stefano Babic <sbabic@denx.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-coldfireWolfgang Denk2011-11-08-5/+0
|\ \ | | | | | | | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-coldfire: ColdFire: The EB+MCF-EV123 boards config update ColdFire: Fix the compile issue for M52277 ColdFire:Moving the remaining coldfire boards to boards.cfg
| * | ColdFire: The EB+MCF-EV123 boards config updateJason Jin2011-11-07-2/+0
| | | | | | | | | | | | | | | | | | | | | Update the config.mk for EB+MCF-EV123 boards according to the config change from Makefile to boards.cfg. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| * | ColdFire: Fix the compile issue for M52277Jason Jin2011-11-07-3/+0
| |/ | | | | | | | | | | | | | | 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>
* | 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>
* | 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>
* | 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>
* | 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>
* | 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>
* | 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>
* | 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>
* | board/eltec/mhpc/flash.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-4/+3
| | | | | | | | | | | | | | | | | | | | Fix: flash.c: In function 'write_buff': flash.c:314:6: warning: variable 'count' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Frank Gottschling <fgottschling@eltec.de>
* | board/kup/kup4k/kup4k.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-2/+1
| | | | | | | | | | | | | | | | | | | | Fix: kup4k.c: In function 'initdram': kup4k.c:155:19: warning: variable 'mod' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Klaus Heydeck <heydeck@kieback-peter.de>
* | ICU862: Fix incorrect flash handlingWolfgang Denk2011-11-07-29/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is only one bank of NOR flash memory on ICU862 boards. Remove code that attempts to deal with a second bank. This also fixes build warnings: flash.c: In function 'flash_init': flash.c:120:12: warning: array subscript is above array bounds [-Warray-bounds] flash.c:121:12: warning: array subscript is above array bounds [-Warray-bounds] flash.c:124:12: warning: array subscript is above array bounds [-Warray-bounds] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/r360mpi/pcmcia.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Fix: pcmcia.c: In function 'pcmcia_hardware_enable': pcmcia.c:22:21: warning: variable 'cp' set but not used [-Wunused-but-set-variable] pcmcia.c: In function 'pcmcia_hardware_disable': pcmcia.c:130:25: warning: variable 'pcmp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/netta/pcmcia.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-50/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: pcmcia.c: In function 'cfg_ports': pcmcia.c:151:21: warning: variable 'cp' set but not used [-Wunused-but-set-variable] pcmcia.c:150:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] pcmcia.c: In function 'pcmcia_hardware_enable': pcmcia.c:179:25: warning: variable 'sysp' set but not used [-Wunused-but-set-variable] pcmcia.c:177:21: warning: variable 'cp' set but not used [-Wunused-but-set-variable] pcmcia.c:176:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] pcmcia.c: In function 'pcmcia_hardware_disable': pcmcia.c:271:25: warning: variable 'pcmp' set but not used [-Wunused-but-set-variable] pcmcia.c:270:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] pcmcia.c: In function 'pcmcia_voltage_set': pcmcia.c:303:9: warning: variable 'sreg' set but not used [-Wunused-but-set-variable] pcmcia.c:300:21: warning: variable 'cp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/netta/codec.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: codec.c: In function 's_write_BR': codec.c:1389:15: warning: variable 'v' set but not used [-Wunused-but-set-variable] codec.c: In function 's_write_OR': codec.c:1400:15: warning: variable 'v' set but not used [-Wunused-but-set-variable] codec.c: In function 's_write_NR': codec.c:1411:15: warning: variable 'v' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/mbx8xx/pcmcia.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix: pcmcia.c: In function 'pcmcia_hardware_enable': pcmcia.c:83:25: warning: variable 'sysp' set but not used [-Wunused-but-set-variable] pcmcia.c:81:21: warning: variable 'cp' set but not used [-Wunused-but-set-variable] pcmcia.c:80:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/manroland/uc100/pcmcia.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-28/+22
| | | | | | | | | | | | | | | | | | | | | | Fix: pcmcia.c: In function 'pcmcia_voltage_set': pcmcia.c:158:25: warning: variable 'pcmp' set but not used [-Wunused-but-set-variable] pcmcia.c:157:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/lwmon/pcmcia.c: Fix GCC 4.6 build warningsWolfgang Denk2011-11-07-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: pcmcia.c: In function 'pcmcia_hardware_enable': pcmcia.c:33:21: warning: variable 'cp' set but not used [-Wunused-but-set-variable] pcmcia.c:32:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] pcmcia.c: In function 'pcmcia_voltage_set': pcmcia.c:174:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/kup/common/pcmcia.c: Fix GCC 4.6 compiler warningsWolfgang Denk2011-11-07-23/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix: ../common/pcmcia.c: In function 'pcmcia_hardware_enable': ../common/pcmcia.c:23:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] ../common/pcmcia.c: In function 'pcmcia_voltage_set': ../common/pcmcia.c:152:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Klaus Heydeck <heydeck@kieback-peter.de>
* | board/icu862/pcmcia.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix: pcmcia.c: In function 'cfg_port_B': pcmcia.c:21:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] pcmcia.c: In function 'pcmcia_hardware_enable': pcmcia.c:50:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] pcmcia.c: In function 'pcmcia_voltage_set': pcmcia.c:191:20: warning: variable 'immap' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/c2mon/pcmcia.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-5/+3
| | | | | | | | | | | | | | | | | | Fix: pcmcia.c: In function 'pcmcia_voltage_set': pcmcia.c:202:21: warning: variable 'cp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/tqc/tqm5200/cam5200_flash.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fix: cam5200_flash.c: In function 'flash_erase_32': cam5200_flash.c:282:24: warning: variable 'l_sect' set but not used [-Wunused-but-set-variable] cam5200_flash.c: In function 'flash_erase_16': cam5200_flash.c:612:24: warning: variable 'l_sect' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
* | board/esd/pf5200/pf5200.c: Fix GCC 4.6 build warningWolfgang Denk2011-11-07-6/+4
| | | | | | | | | | | | | | | | | | | | Fix: pf5200.c: In function 'do_phypower': pf5200.c:330:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>