diff options
Diffstat (limited to 'board/freescale/ls1043aqds/ddr.c')
-rw-r--r-- | board/freescale/ls1043aqds/ddr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/freescale/ls1043aqds/ddr.c b/board/freescale/ls1043aqds/ddr.c index c740062887..2643f5bf4a 100644 --- a/board/freescale/ls1043aqds/ddr.c +++ b/board/freescale/ls1043aqds/ddr.c @@ -108,7 +108,7 @@ found: #endif } -phys_size_t initdram(int board_type) +int fsl_initdram(void) { phys_size_t dram_size; @@ -125,5 +125,7 @@ phys_size_t initdram(int board_type) fsl_dp_ddr_restore(); #endif - return dram_size; + gd->ram_size = dram_size; + + return 0; } |