ram: rockchip: fix AArch32 compile issue

error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]

Change-Id: Iadcf7065f02ee779d3eeee1cb70fd3e9905e1b3f
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2019-05-23 09:51:04 +08:00 committed by Jianhong Chen
parent a7784f2995
commit 7328d2324e
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ int sdram_detect_cs1_row(struct sdram_cap_info *cap_info, u32 dram_type)
{
void __iomem *test_addr;
u32 row = 0, bktmp, coltmp, bw;
u64 cs0_cap;
ulong cs0_cap;
u32 byte_mask;
if (cap_info->rank == 2) {