summaryrefslogtreecommitdiff
path: root/board/freescale/m54451evb/m54451evb.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/m54451evb/m54451evb.c')
-rw-r--r--board/freescale/m54451evb/m54451evb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/freescale/m54451evb/m54451evb.c b/board/freescale/m54451evb/m54451evb.c
index d2ad42c085..050624bf92 100644
--- a/board/freescale/m54451evb/m54451evb.c
+++ b/board/freescale/m54451evb/m54451evb.c
@@ -26,7 +26,7 @@ int checkboard(void)
return 0;
};
-phys_size_t initdram(int board_type)
+int dram_init(void)
{
u32 dramsize;
#ifdef CONFIG_CF_SBF
@@ -82,7 +82,9 @@ phys_size_t initdram(int board_type)
udelay(100);
#endif
- return (dramsize);
+ gd->ram_size = dramsize;
+
+ return 0;
};
int testdram(void)