diff options
author | Wolfgang Denk <wd@denx.de> | 2011-11-04 15:55:41 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-07 22:14:25 +0100 |
commit | 250b66e2cec11289c41f274082e73cb04706cd3c (patch) | |
tree | 448625f2f082fd63a53d50f05fe64e1aec1c597b /fs | |
parent | 098a8a83ea36aab1b854dc4880fffb6bdee67905 (diff) | |
download | u-boot-imx-250b66e2cec11289c41f274082e73cb04706cd3c.zip u-boot-imx-250b66e2cec11289c41f274082e73cb04706cd3c.tar.gz u-boot-imx-250b66e2cec11289c41f274082e73cb04706cd3c.tar.bz2 |
board/genietv/flash.c: Fix flash initialization
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions