]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/imgtec/malta/malta.c
board_f: Drop return value from initdram()
[people/ms/u-boot.git] / board / imgtec / malta / malta.c
index c269d0a5a35d7ffe905e8c5dcd8b46431d75afd2..f8c65b0e46d517096bf0123a11119806ece3e457 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "superio.h"
 
+DECLARE_GLOBAL_DATA_PTR;
+
 enum core_card {
        CORE_UNKNOWN,
        CORE_LV,
@@ -83,9 +85,11 @@ static enum sys_con malta_sys_con(void)
        }
 }
 
-phys_size_t initdram(void)
+int initdram(void)
 {
-       return CONFIG_SYS_MEM_SIZE;
+       gd->ram_size = CONFIG_SYS_MEM_SIZE;
+
+       return 0;
 }
 
 int checkboard(void)