diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-07-10 13:42:09 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-08-20 10:49:20 +0300 |
commit | 22b6bb6ccd65e9d57b284895401de6b35d3b5ed9 (patch) | |
tree | ff411d43466e1a6236c11d9884ea45526e7d6767 | |
parent | c2f0950c33ef9d89573609b6352a9964af8833a1 (diff) | |
download | u-boot-22b6bb6ccd65e9d57b284895401de6b35d3b5ed9.tar.xz |
xilinx: versal: Use lowest memory for U-Boot
Find and use the lowest memory for Versal to make sure that we keep u-boot
as low as possible and never use memory above u-boot's maximum VA mapping.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | board/xilinx/versal/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c index 45cf1d2d0c..3dc7044b21 100644 --- a/board/xilinx/versal/board.c +++ b/board/xilinx/versal/board.c @@ -229,7 +229,7 @@ int dram_init_banksize(void) int dram_init(void) { - if (fdtdec_setup_mem_size_base() != 0) + if (fdtdec_setup_mem_size_base_lowest() != 0) return -EINVAL; return 0; |