• W
    board/etx094/flash.c: Fix flash initialization · 28c665d4
    Wolfgang Denk 提交于
    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: NWolfgang Denk <wd@denx.de>
    28c665d4
flash.c 16.4 KB