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>
This commit is contained in:
Michal Simek 2020-07-10 12:42:09 +02:00
parent c2f0950c33
commit 22b6bb6ccd

View file

@ -229,7 +229,7 @@ int dram_init_banksize(void)
int dram_init(void) int dram_init(void)
{ {
if (fdtdec_setup_mem_size_base() != 0) if (fdtdec_setup_mem_size_base_lowest() != 0)
return -EINVAL; return -EINVAL;
return 0; return 0;