]> git.dujemihanovic.xyz Git - u-boot.git/commit
arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c: Fix GCC 4.6 build warning
authorKumar Gala <galak@kernel.crashing.org>
Wed, 9 Nov 2011 16:05:10 +0000 (10:05 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 11 Nov 2011 13:49:01 +0000 (07:49 -0600)
commitdea7f88726cb56ebb0fc1369182c37ebabe677a7
treebbfc157ea73cd5d31d521952adf7a0804b982f3e
parentc1ee16b8e02cd974d7ce9bfb9578e6a1557c2af2
arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c: Fix GCC 4.6 build warning

Fix:

ctrl_regs.c: In function 'set_ddr_sdram_cfg_2':
ctrl_regs.c:641:15: warning: variable 'rcw_en' set but not used [-Wunused-but-set-variable]
ctrl_regs.c: In function 'compute_fsl_memctl_config_regs':
ctrl_regs.c:951:31: warning: array subscript is above array bounds [-Warray-bounds]
ctrl_regs.c:752:34: warning: array subscript is above array bounds [-Warray-bounds]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c