
On Wed, Mar 30, 2022 at 1:58 PM Fabio Estevam festevam@gmail.com wrote:
Hi Tim,
On Wed, Mar 30, 2022 at 5:39 PM Tim Harvey tharvey@gateworks.com wrote:
The SPL does not update the memory node with the dram size from EEPROM but instead we can use get_ram_size which does a simple memory test to determine the available RAM. Update PHYS_SDRAM_SIZE to 4GiB as that is the max used on the Venice boards.
Signed-off-by: Tim Harvey tharvey@gateworks.com Reviewed-by: Fabio Estevam festevam@denx.de
Is this 2022.04 material?
Fabio,
Probably a good idea - without it the DRAM size is set to something that may not be appropriate and if larger than what's actually on the board could cause a crash if someone tried to allocate that memory.
Fixes: 692c25ee30efd "(board: gateworks: venice: get mem size from dt)"
Thanks,
Tim