]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/pdm360ng/pdm360ng.c
board_f: Drop return value from initdram()
[people/ms/u-boot.git] / board / pdm360ng / pdm360ng.c
index ef19daf3c953de29d290218be5370eb2863ecefc..c833aec9b26fe783f1c0e601c38692e734ff6f9c 100644 (file)
@@ -48,7 +48,7 @@ sdram_conf_t mddrc_config[] = {
        },
 };
 
-phys_size_t initdram(void)
+int initdram(void)
 {
        int i;
        u32 msize = 0;
@@ -95,7 +95,9 @@ phys_size_t initdram(void)
                        break;
        }
 
-       return msize;
+       gd->ram_size = msize;
+
+       return 0;
 }
 
 static int set_lcd_brightness(char *);