diff options
author | Michal Simek | 2020-07-10 12:42:09 +0200 |
---|---|---|
committer | Michal Simek | 2020-08-20 09:49:20 +0200 |
commit | 22b6bb6ccd65e9d57b284895401de6b35d3b5ed9 (patch) | |
tree | ff411d43466e1a6236c11d9884ea45526e7d6767 /board/xilinx/versal | |
parent | c2f0950c33ef9d89573609b6352a9964af8833a1 (diff) |
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>
Diffstat (limited to 'board/xilinx/versal')
-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 45cf1d2d0ca..3dc7044b213 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; |