[PATCH v2 02/10] arm: rockchip: Explicitly cast gd->ram_top in dram_init_banksize()

Simon Glass sjg at chromium.org
Thu Feb 4 02:53:53 CET 2021


From: Bin Meng <bin.meng at 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 at 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!


More information about the U-Boot mailing list