u-boot-brain/arch
Heiko Stuebner b6740fb116 rockchip: spl: do full dram_init instead of only probing
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>
2020-05-31 22:22:07 +08:00
..
arc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm rockchip: spl: do full dram_init instead of only probing 2020-05-31 22:22:07 +08:00
m68k common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
microblaze common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mips common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nds32 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
nios2 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
powerpc mpc83xx, abb: remove suvd3 board 2020-05-19 14:01:47 -04:00
riscv riscv: Move all SMP related SBI calls to SBI_v01 2020-05-26 15:50:08 +08:00
sandbox common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sh sh: Enable ffunction-sections and fdata-sections 2020-05-20 13:20:25 +02:00
x86 cbfs: Don't require the CBFS size with cbfs_init_mem() 2020-05-27 14:40:09 +08:00
xtensa common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
.gitignore
Kconfig sandbox: move compression option to Kconfig 2020-05-25 11:54:53 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00