diff options
author | Michal Simek <michal.simek@xilinx.com> | 2016-02-04 11:03:20 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-02-22 16:21:02 +0100 |
commit | d9f317fd0d46beebeeeb5be8f3c7d925ed6174fd (patch) | |
tree | 871b811cee8f908954b6802bbec40f5a578b9da6 /board/xilinx | |
parent | ce0335f2b49967e707ac3cf237be878c9081d931 (diff) |
ARM: zynq: Read memory size setting from DT
OF_CONTROL is setup by default and memory reading is done via DT. Remove
all config files with memory references.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/zynq/board.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 01bae5d67e..2f17e977a4 100644 --- a/board/xilinx/zynq/board.c +++ b/board/xilinx/zynq/board.c @@ -100,7 +100,6 @@ int checkboard(void) int dram_init(void) { -#if CONFIG_IS_ENABLED(OF_CONTROL) int node; fdt_addr_t addr; fdt_size_t size; @@ -118,9 +117,6 @@ int dram_init(void) return -1; } gd->ram_size = size; -#else - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; -#endif zynq_ddrc_init(); return 0; |