From f013dacf0a90667fbefe35580f8031a84caeb65e Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sun, 4 Dec 2005 00:40:34 +0100 Subject: Code cleanup, especially MIPS for GCC 4.x --- board/incaip/incaip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/incaip/incaip.c') 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) -- cgit v1.2.1