From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 3 Feb 2021 17:53:53 -0800 Subject: [PATCH v2 02/10] arm: rockchip: Explicitly cast gd->ram_top in dram_init_banksize() In-Reply-To: <20210131123606.20702-3-bmeng.cn@gmail.com> References: <20210131123606.20702-3-bmeng.cn@gmail.com> <20210131123606.20702-1-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Bin Meng 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 --- 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!