From: Michal Simek Date: Fri, 10 Jul 2020 10:42:09 +0000 (+0200) Subject: xilinx: versal: Use lowest memory for U-Boot X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=22b6bb6ccd65e9d57b284895401de6b35d3b5ed9;p=u-boot.git 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 --- 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;