diff options
author | Ricardo Salveti <ricardo@foundries.io> | 2022-01-20 16:17:30 -0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2022-02-01 17:11:33 +0100 |
commit | e6e3b9d7b55ce2563f9da0b5991605f15bd38163 (patch) | |
tree | 4bf9defb3491bf0e8455fb7f8ec79c2081c6221a /drivers/ddr/altera/sequencer.c | |
parent | df887a045a1d726bbd654ef266e5cbe8cc0c2db3 (diff) |
xilinx: common: change bootm_size to not go beyond ram_top
The available ram can be limited by ram_top as that depends on the
reserved memory nodes provided by the device-tree (via
board_get_usable_ram_top), so make sure to respect ram_top when setting
up bootm_size to avoid overlapping reserved memory regions (e.g. memory
used by OP-TEE).
The same logic is available in env_get_bootm_size when bootm_size is
not defined by the default environment.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Link: https://lore.kernel.org/r/20220120191730.2009270-1-ricardo@foundries.io
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/ddr/altera/sequencer.c')
0 files changed, 0 insertions, 0 deletions