diff options
author | Wolfgang Denk <wd@pollux.(none)> | 2005-12-04 00:40:34 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.(none)> | 2005-12-04 00:40:34 +0100 |
commit | f013dacf0a90667fbefe35580f8031a84caeb65e (patch) | |
tree | 7e6f5ecf1ce7d800c13b0342ba10d67486c52636 /board/incaip/incaip.c | |
parent | c75eba3b4140187cd0d9bd8049f5df4c49b6889b (diff) |
Code cleanup, especially MIPS for GCC 4.x
Diffstat (limited to 'board/incaip/incaip.c')
-rw-r--r-- | board/incaip/incaip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/incaip/incaip.c b/board/incaip/incaip.c index eb6eaea278..b5d9e00492 100644 --- a/board/incaip/incaip.c +++ b/board/incaip/incaip.c @@ -68,7 +68,7 @@ long int initdram(int board_type) { *INCA_IP_SDRAM_MC_CFGPB0 = (0x14 << 8) | (rows << 4) | cols; - size = get_ram_size((ulong *)CFG_SDRAM_BASE, + size = get_ram_size((long *)CFG_SDRAM_BASE, max_sdram_size()); if (size > max_size) |