Skip to content
Commit 0450e91c authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarQuentin Schulz <quentin.schulz@cherry.de>
parent cafde93e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment