diff options
Diffstat (limited to 'board/freescale/m547xevb')
-rw-r--r-- | board/freescale/m547xevb/m547xevb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/freescale/m547xevb/m547xevb.c b/board/freescale/m547xevb/m547xevb.c index e84a5ac4eb9..fc674522f64 100644 --- a/board/freescale/m547xevb/m547xevb.c +++ b/board/freescale/m547xevb/m547xevb.c @@ -23,7 +23,7 @@ int checkboard(void) return 0; }; -phys_size_t initdram(void) +int initdram(void) { siu_t *siu = (siu_t *) (MMAP_SIU); sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); @@ -79,7 +79,9 @@ phys_size_t initdram(void) udelay(100); - return dramsize; + gd->ram_size = dramsize; + + return 0; }; int testdram(void) |