]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/esd/mecp5123/mecp5123.c
board_f: Drop return value from initdram()
[people/ms/u-boot.git] / board / esd / mecp5123 / mecp5123.c
index b8eb32b1fb713f7fa7338ad35dfaf59e6cc1b6fa..80963fefa508987c331190fbf6b6299b00b2d4c3 100644 (file)
@@ -62,9 +62,11 @@ int board_early_init_f(void)
        return 0;
 }
 
-phys_size_t initdram(void)
+int initdram(void)
 {
-       return get_ram_size(0, fixed_sdram(NULL, NULL, 0));
+       gd->ram_size = get_ram_size(0, fixed_sdram(NULL, NULL, 0));
+
+       return 0;
 }
 
 int misc_init_r(void)