diff options
author | Wolfgang Denk <wd@denx.de> | 2011-11-04 15:55:39 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-07 22:14:17 +0100 |
commit | 28c665d4d5706eeb63861b4417d992c38d15d081 (patch) | |
tree | 15509fb224aec1aee27d7f62149196d8e1d2a4ca /board/rbc823 | |
parent | d0bb8d485ef2c850330d7d158b6393ae413975ad (diff) |
board/etx094/flash.c: Fix flash initialization
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>
Diffstat (limited to 'board/rbc823')
0 files changed, 0 insertions, 0 deletions