summaryrefslogtreecommitdiffstats
path: root/board/incaip/incaip.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/incaip/incaip.c')
-rw-r--r--board/incaip/incaip.c2
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)
OpenPOWER on IntegriCloud