diff options
author | Wolfgang Denk <wd@denx.de> | 2011-11-05 05:13:11 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-07 22:48:06 +0100 |
commit | d72512406ac04d89a2d58e866e83eed945dbc461 (patch) | |
tree | 850f653e8bb8cbe59a0034bcfa562bf14e81a658 /board | |
parent | 48fddf6aeba6432891c142ecd716105b12a373aa (diff) | |
download | u-boot-imx-d72512406ac04d89a2d58e866e83eed945dbc461.zip u-boot-imx-d72512406ac04d89a2d58e866e83eed945dbc461.tar.gz u-boot-imx-d72512406ac04d89a2d58e866e83eed945dbc461.tar.bz2 |
board/ids8247/ids8247.c: Fix GCC 4.6 build warning
Fix:
ids8247.c: In function 'initdram':
ids8247.c:284:14: warning: variable 'lsize' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/ids8247/ids8247.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/ids8247/ids8247.c b/board/ids8247/ids8247.c index d621833..02db07f 100644 --- a/board/ids8247/ids8247.c +++ b/board/ids8247/ids8247.c @@ -281,10 +281,9 @@ phys_size_t initdram (int board_type) volatile immap_t *immap = (immap_t *) CONFIG_SYS_IMMR; volatile memctl8260_t *memctl = &immap->im_memctl; - long psize, lsize; + long psize; psize = 16 * 1024 * 1024; - lsize = 0; memctl->memc_psrt = CONFIG_SYS_PSRT; memctl->memc_mptpr = CONFIG_SYS_MPTPR; |