Re: [PATCH v2] xilinx: common: change bootm_size to not go beyond ram_top

2022-01-21 Thread Michal Simek
On 1/20/22 20:17, Ricardo Salveti wrote: 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

[PATCH v2] xilinx: common: change bootm_size to not go beyond ram_top

2022-01-20 Thread Ricardo Salveti
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