diff options
Diffstat (limited to 'board/freescale/t208xqds/ddr.c')
-rw-r--r-- | board/freescale/t208xqds/ddr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/freescale/t208xqds/ddr.c b/board/freescale/t208xqds/ddr.c index 044ac18562..adc109042b 100644 --- a/board/freescale/t208xqds/ddr.c +++ b/board/freescale/t208xqds/ddr.c @@ -104,7 +104,7 @@ found: popts->cpo_sample = 0x64; } -phys_size_t initdram(void) +int initdram(void) { phys_size_t dram_size; @@ -118,5 +118,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; } |