Re: [PATCH v2 1/2] rockchip: spl: do full dram_init instead of only probing

2020-05-31 Thread Kever Yang
Hi Heiko,     Below error happen when build: +arch/arm/mach-rockchip/spl.c: In function 'board_init_f': 690 +arch/arm/mach-rockchip/spl.c:112:18: error: unused variable 'dev' [-Werror=unused-variable]     I will fix

Re: [PATCH v2 1/2] rockchip: spl: do full dram_init instead of only probing

2020-05-31 Thread Kever Yang
On 2020/5/26 上午1:57, Heiko Stuebner wrote: From: Heiko Stuebner 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: - ucla

[PATCH v2 1/2] rockchip: spl: do full dram_init instead of only probing

2020-05-25 Thread Heiko Stuebner
From: Heiko Stuebner 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