]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/freescale/t102xrdb/ddr.c
board_f: Drop return value from initdram()
[people/ms/u-boot.git] / board / freescale / t102xrdb / ddr.c
index 56f98ac2f9f34ccdfa059999377992d411c34811..773aa77781d66209297a2dba9143953066df3612 100644 (file)
@@ -229,7 +229,7 @@ void board_mem_sleep_setup(void)
 }
 #endif
 
-phys_size_t initdram(void)
+int initdram(void)
 {
        phys_size_t dram_size;
 
@@ -249,5 +249,7 @@ phys_size_t initdram(void)
        fsl_dp_resume();
 #endif
 
-       return dram_size;
+       gd->ram_size = dram_size;
+
+       return 0;
 }