Skip to content
Snippets Groups Projects
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: Simon Glass's avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarQuentin Schulz <quentin.schulz@cherry.de>
parent cafde93e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment