mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 01:38:22 +00:00
b6740fb116
Parts of later SPL may need RAM information as well, so do full dram_init() call, which includes the existing dram probing but also initializes the ram information in gd. dram_init() from sdram.c does the following steps: - uclass_get_device(UCLASS_RAM, ...) like the current code - ret = ram_get_info(dev, &ram); - gd->ram_size = ram.size; CONFIG_SPL_RAM already makes sure that sdram.c gets compiled and thus no other variant of dram_init() can exist. So it's the same functionality as before and only adds that the SPL now aquires knowledge about the amount of available ram, which it didn't know about before. Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> |
||
---|---|---|
.. | ||
px30 | ||
rk322x | ||
rk3036 | ||
rk3128 | ||
rk3188 | ||
rk3288 | ||
rk3308 | ||
rk3328 | ||
rk3368 | ||
rk3399 | ||
rv1108 | ||
board.c | ||
boot_mode.c | ||
bootrom.c | ||
cpu-info.c | ||
fit_spl_optee.sh | ||
Kconfig | ||
make_fit_atf.py | ||
Makefile | ||
misc.c | ||
px30-board-tpl.c | ||
rk3036-board-spl.c | ||
sdram.c | ||
spl-boot-order.c | ||
spl.c | ||
tpl.c | ||
u-boot-tpl-v8.lds | ||
u-boot-tpl.lds |