summaryrefslogtreecommitdiff
path: root/board/astro/mcf5373l/mcf5373l.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/astro/mcf5373l/mcf5373l.c')
-rw-r--r--board/astro/mcf5373l/mcf5373l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/astro/mcf5373l/mcf5373l.c b/board/astro/mcf5373l/mcf5373l.c
index daba32c..7ec7cb3 100644
--- a/board/astro/mcf5373l/mcf5373l.c
+++ b/board/astro/mcf5373l/mcf5373l.c
@@ -79,7 +79,7 @@ phys_size_t initdram(int board_type)
* (Do not rely on the SDCS register(s) being set to 0x00000000
* during reset as stated in the data sheet.)
*/
- return get_ram_size((unsigned long *)CONFIG_SYS_SDRAM_BASE,
+ return get_ram_size((long *)CONFIG_SYS_SDRAM_BASE,
0x80000000 - CONFIG_SYS_SDRAM_BASE);
}