diff options
author | Heiko Schocher <hs@denx.de> | 2014-11-06 15:20:52 +0100 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-12-05 08:06:10 -0800 |
commit | 7c1c581f9c5137f8f109e4cdab3f3d256c7b7dad (patch) | |
tree | a051d993bf1687a01172fc02573305c56cf3a398 /board/muas3001 | |
parent | ab23b9a024e5f4b103f06674e2fcca5ea343b148 (diff) |
powerpc, muas3001: remove CONFIG_SYS_RAMBOOT
cppcheck reports:
[board/muas3001/muas3001.c:270]: (error) Uninitialized variable: psize
remove the CONFIG_SYS_RAMBOOT define to prevent this error report.
Signed-off-by: Heiko Schocher <hs@denx.de>
Reported-by: Wolfgang Denk <wd@denx.de>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/muas3001')
-rw-r--r-- | board/muas3001/muas3001.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/board/muas3001/muas3001.c b/board/muas3001/muas3001.c index 529a58c222..e0c4dbaeba 100644 --- a/board/muas3001/muas3001.c +++ b/board/muas3001/muas3001.c @@ -243,14 +243,11 @@ 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; -#ifndef CONFIG_SYS_RAMBOOT long sizelittle, sizebig; -#endif memctl->memc_psrt = CONFIG_SYS_PSRT; memctl->memc_mptpr = CONFIG_SYS_MPTPR; -#ifndef CONFIG_SYS_RAMBOOT /* 60x SDRAM setup: */ sizelittle = try_init (memctl, CONFIG_SYS_PSDMR_LITTLE, CONFIG_SYS_OR1_LITTLE, @@ -263,7 +260,6 @@ phys_size_t initdram (int board_type) psize = try_init (memctl, CONFIG_SYS_PSDMR_LITTLE, CONFIG_SYS_OR1_LITTLE, (uchar *) CONFIG_SYS_SDRAM_BASE); } -#endif /* CONFIG_SYS_RAMBOOT */ icache_enable (); |