projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: socfpga: Add DRAM bank size initialization function
[platform/kernel/u-boot.git]
/
arch
/
arm
/
mach-socfpga
/
board.c
diff --git
a/arch/arm/mach-socfpga/board.c
b/arch/arm/mach-socfpga/board.c
index
c23ac4e
..
38e12a4
100644
(file)
--- a/
arch/arm/mach-socfpga/board.c
+++ b/
arch/arm/mach-socfpga/board.c
@@
-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,