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