summaryrefslogtreecommitdiffstats
path: root/board/tqc
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-11-04 15:55:53 +0000
committerWolfgang Denk <wd@denx.de>2011-11-07 22:15:53 +0100
commit1f8843344221f9e7b2de598b0ccd289abb85c58d (patch)
tree841bbe8545e999a4035e580a6d3d28e13b41b10b /board/tqc
parent89a7b78c43f7550cd42a35c19c7eca9cb15ab9d1 (diff)
downloadblackbird-obmc-uboot-1f8843344221f9e7b2de598b0ccd289abb85c58d.tar.gz
blackbird-obmc-uboot-1f8843344221f9e7b2de598b0ccd289abb85c58d.zip
board/tqc/tqm8272/tqm8272.c: Fix GCC 4.6 build warning:
Fix: tqm8272.c: In function 'initdram': tqm8272.c:462:14: warning: variable 'lsize' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/tqc')
-rw-r--r--board/tqc/tqm8272/tqm8272.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/tqc/tqm8272/tqm8272.c b/board/tqc/tqm8272/tqm8272.c
index 9efb54125e..5aca227789 100644
--- a/board/tqc/tqm8272/tqm8272.c
+++ b/board/tqc/tqm8272/tqm8272.c
@@ -459,10 +459,9 @@ phys_size_t initdram (int board_type)
#ifndef CONFIG_SYS_RAMBOOT
long size8, size9;
#endif
- long psize, lsize;
+ long psize;
psize = 16 * 1024 * 1024;
- lsize = 0;
memctl->memc_psrt = CONFIG_SYS_PSRT;
memctl->memc_mptpr = CONFIG_SYS_MPTPR;
OpenPOWER on IntegriCloud