summaryrefslogtreecommitdiff
path: root/board/freescale/m5208evbe/m5208evbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/m5208evbe/m5208evbe.c')
-rw-r--r--board/freescale/m5208evbe/m5208evbe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/freescale/m5208evbe/m5208evbe.c b/board/freescale/m5208evbe/m5208evbe.c
index 6122750882..edf486acc8 100644
--- a/board/freescale/m5208evbe/m5208evbe.c
+++ b/board/freescale/m5208evbe/m5208evbe.c
@@ -22,7 +22,7 @@ int checkboard(void)
return 0;
};
-phys_size_t initdram(void)
+int initdram(void)
{
sdram_t *sdram = (sdram_t *)(MMAP_SDRAM);
u32 dramsize, i;
@@ -68,7 +68,9 @@ phys_size_t initdram(void)
udelay(100);
- return dramsize;
+ gd->ram_size = dramsize;
+
+ return 0;
};
int testdram(void)