ARM: socfpga: Add DRAM bank size initialization function
[platform/kernel/u-boot.git] / arch / arm / mach-socfpga / board.c
index c23ac4e..38e12a4 100644 (file)
@@ -28,6 +28,13 @@ int board_init(void)
        return 0;
 }
 
+int dram_init_banksize(void)
+{
+       fdtdec_setup_memory_banksize();
+
+       return 0;
+}
+
 #ifdef CONFIG_USB_GADGET
 struct dwc2_plat_otg_data socfpga_otg_data = {
        .usb_gusbcfg    = 0x1417,