diff options
Diffstat (limited to 'board/freescale/t208xrdb/ddr.c')
-rw-r--r-- | board/freescale/t208xrdb/ddr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/freescale/t208xrdb/ddr.c b/board/freescale/t208xrdb/ddr.c index bcb536a..b4ad615 100644 --- a/board/freescale/t208xrdb/ddr.c +++ b/board/freescale/t208xrdb/ddr.c @@ -97,7 +97,7 @@ found: popts->cpo_sample = 0x54; } -phys_size_t initdram(void) +int initdram(void) { phys_size_t dram_size; @@ -111,5 +111,7 @@ phys_size_t initdram(void) dram_size = setup_ddr_tlbs(dram_size / 0x100000); dram_size *= 0x100000; - return dram_size; + gd->ram_size = dram_size; + + return 0; } |