commit | c5c33be23d8a07966c2c410f6761a5944f4b41e5 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Aug 01 06:47:22 2024 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 05 12:17:01 2024 -0600 |
tree | a07a980ca14a93ef0f8859079358aa56d4bdfeee | |
parent | 1a6d2e080dcbbad39c2b84fb4106659d35eb1408 [diff] |
rockchip: Ensure memory size is available in RK3399 SPL 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 <sjg@chromium.org> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>