diff options
author | Wolfgang Denk <wd@denx.de> | 2011-11-09 09:29:06 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-16 21:10:50 +0100 |
commit | 2595fddb264ccba5936f94fea54def8fbb259800 (patch) | |
tree | 728fbe1e4e337156033c99bd284a5550164be6e8 /examples | |
parent | be51c5c98b8d705a1795d00668344cfade8d6545 (diff) | |
download | talos-obmc-uboot-2595fddb264ccba5936f94fea54def8fbb259800.tar.gz talos-obmc-uboot-2595fddb264ccba5936f94fea54def8fbb259800.zip |
board/esd/cpci750/sdram_init.c: Fix GCC 4.6 build warnings
Fix:
sdram_init.c: In function 'check_dimm':
sdram_init.c:267:50: warning: variable 'trrd_clocks' set but not used
[-Wunused-but-set-variable]
sdram_init.c:267:37: warning: variable 'tras_clocks' set but not used
[-Wunused-but-set-variable]
sdram_init.c:267:24: warning: variable 'trcd_clocks' set but not used
[-Wunused-but-set-variable]
sdram_init.c:267:8: warning: variable 'trp_clocks' set but not used
[-Wunused-but-set-variable]
sdram_init.c:253:16: warning: variable 'spd_checksum' set but not used
[-Wunused-but-set-variable]
sdram_init.c: In function 'initdram':
sdram_init.c:1693:14: warning: variable 's1' set but not used
[-Wunused-but-set-variable]
sdram_init.c:1693:6: warning: variable 's0' set but not used
[-Wunused-but-set-variable]
Biggest part o the fix is converting the custom debug code to standard
debug().
No attempts were made to cleanup the code.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions