
4 Feb
2021
4 Feb
'21
2:53 a.m.
From: Bin Meng bin.meng@windriver.com
The min() macro used in dram_init_banksize() requires two elements to compare have the same type. Let's explicitly cast gd->ram_top.
Signed-off-by: Bin Meng bin.meng@windriver.com ---
Changes in v2: - new patch: arm: rockchip: Explicitly cast gd->ram_top in dram_init_banksize()
arch/arm/mach-rockchip/sdram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-dm, thanks!