diff options
author | Wolfgang Denk <wd@denx.de> | 2011-11-04 15:55:47 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-07 22:15:31 +0100 |
commit | e0ead84895dc439c42f83fa18ebbe88865e8383b (patch) | |
tree | ddfa7e3f95743d9270ae5e915c5965654512bfc0 /drivers/i2c/omap1510_i2c.c | |
parent | 6915840ffb4dde0835eb567f4e9e617f679dc16b (diff) | |
download | u-boot-imx-e0ead84895dc439c42f83fa18ebbe88865e8383b.zip u-boot-imx-e0ead84895dc439c42f83fa18ebbe88865e8383b.tar.gz u-boot-imx-e0ead84895dc439c42f83fa18ebbe88865e8383b.tar.bz2 |
board/rbc823/flash.c: Fix flash initalization
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>
Diffstat (limited to 'drivers/i2c/omap1510_i2c.c')
0 files changed, 0 insertions, 0 deletions