u-boot/arch/arm/mach-rockchip
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
..
px30 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
rk322x common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
rk3036 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
rk3128 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
rk3188 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
rk3288 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
rk3308 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rk3328 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
rk3368 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rk3399 rockchip: Add initial support for the Pinebook Pro laptop from Pine64. 2020-05-31 22:22:07 +08:00
rv1108 dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
board.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
boot_mode.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bootrom.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
cpu-info.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
fit_spl_optee.sh rockchip: fit_spl_optee: get text and optee base from build 2019-12-26 20:34:28 +08:00
Kconfig rockchip: Enable pre console for rk3399 2020-04-02 15:49:16 +02:00
make_fit_atf.py rockchip: make_fit_atf: use correct fdt_x references in config nodes 2020-02-19 16:45:38 +08:00
Makefile rockchip: Add cpu-info 2020-01-30 11:44:01 +08:00
misc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
px30-board-tpl.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
rk3036-board-spl.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
sdram.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl-boot-order.c rockchip: spl-boot-order: do not attempt to access fdt if OF_PLATDATA 2020-05-22 20:53:20 +08:00
spl.c rockchip: spl: do full dram_init instead of only probing 2020-05-31 22:22:07 +08:00
tpl.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
u-boot-tpl-v8.lds rockchip: add u-boot-tpl-v8.lds 2019-05-08 17:34:12 +08:00
u-boot-tpl.lds rockchip: rk322x: add tpl support 2019-05-08 17:34:12 +08:00