diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-07-09 15:57:56 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-08-20 09:46:55 +0200 |
commit | c8da6513c054c150640e8ad12185bd53ae1852fc (patch) | |
tree | 6eda9dc2212c4700b5336a20d0165763161b7286 /drivers/nvme/Makefile | |
parent | ba989cf1cac82f10efc749aaf2aaff1694894e71 (diff) |
xilinx: Setup bootm variables
On system with PL DDR which is placed before PS DDR in DT
env_get_bootm_size() and env_get_bootm_low() without specifying bootm_low
and bootm_size variables are taking by default gd->bd->bi_dram[0].start and
gd->bd->bi_dram[0].size. As you see 0 means bank 0 which doesn't need to be
PS ddr and even can be memory above 39bit VA which is what U-Boot supports
now.
That's why setup bootm variables based on ram_base/ram_size setting to make
sure that boot images are placed to the same location as U-Boot is placed.
This location should be by default location where OS can boot from.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/nvme/Makefile')
0 files changed, 0 insertions, 0 deletions