Skip to content
  • Wolfgang Denk's avatar
    board/genietv/flash.c: Fix flash initialization · 250b66e2
    Wolfgang Denk authored
    
    
    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: default avatarWolfgang Denk <wd@denx.de>
    250b66e2