]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/mach-mvebu/dram.c
board_f: Drop setup_dram_config() wrapper
[people/ms/u-boot.git] / arch / arm / mach-mvebu / dram.c
index a8ec5ea21b6fe2e58a04be7b573ac0eef4e548b3..e3f304c36683bb67aceffc0f6bd9474fad195830 100644 (file)
@@ -273,7 +273,7 @@ int dram_init(void)
  * If this function is not defined here,
  * board.c alters dram bank zero configuration defined above.
  */
-void dram_init_banksize(void)
+int dram_init_banksize(void)
 {
        u64 size = 0;
        int i;
@@ -287,6 +287,8 @@ void dram_init_banksize(void)
                if (size > SDRAM_SIZE_MAX)
                        mvebu_sdram_bs_set(i, 0x40000000);
        }
+
+       return 0;
 }
 
 #if defined(CONFIG_ARCH_MVEBU)