summaryrefslogtreecommitdiff
path: root/board/pm520
diff options
context:
space:
mode:
Diffstat (limited to 'board/pm520')
-rw-r--r--board/pm520/pm520.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/pm520/pm520.c b/board/pm520/pm520.c
index 14c3f1d442..83d9bcd025 100644
--- a/board/pm520/pm520.c
+++ b/board/pm520/pm520.c
@@ -84,7 +84,7 @@ static void sdram_start (int hi_addr)
*/
#if defined(CONFIG_MPC5200)
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
{
ulong dramsize = 0;
ulong dramsize2 = 0;
@@ -187,7 +187,7 @@ long int initdram (int board_type)
#elif defined(CONFIG_MGT5100)
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
{
ulong dramsize = 0;
#ifndef CFG_RAMBOOT