Re: [PATCH v4 13/16] rockchip: Ensure memory size is available in RK3399 SPL

2024-06-24 Thread Quentin Schulz
Hi Simon, On 6/23/24 7:52 PM, Simon Glass wrote: At present gd->ram_size is 0 in SPL, meaning that it is not possible to enable the cache. Correct this by always populating the RAM size correctly. This increases code size by about 500 bytes in SPL, since it must call the rather large rockchip_s

[PATCH v4 13/16] rockchip: Ensure memory size is available in RK3399 SPL

2024-06-23 Thread Simon Glass
At present gd->ram_size is 0 in SPL, meaning that it is not possible to enable the cache. Correct this by always populating the RAM size correctly. This increases code size by about 500 bytes in SPL, since it must call the rather large rockchip_sdram_size() function. Signed-off-by: Simon Glass -