summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2016-04-01 03:51:37 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2016-08-17 10:25:35 +0900
commit4ebaba55a49ab403f2f771b6f76f8a5a42a93ea4 (patch)
treefc94c0cbcec2cb32e8d2b57f62d80fd187b2ad93 /board
parente525d34b476e2eef06376633c12a94a56d7d889b (diff)
downloadu-boot-4ebaba55a49ab403f2f771b6f76f8a5a42a93ea4.tar.gz
ARM: rmobile: rcar-common: Fix warning of type difference
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board')
-rw-r--r--board/renesas/rcar-common/common.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/renesas/rcar-common/common.c b/board/renesas/rcar-common/common.c
index d6144c2aa1..33c1726f18 100644
--- a/board/renesas/rcar-common/common.c
+++ b/board/renesas/rcar-common/common.c
@@ -55,9 +55,11 @@ void arch_preboot_os(void)
/* Stop module clock */
for (i = 0; i < ARRAY_SIZE(mstptbl); i++) {
- mstp_setclrbits_le32(mstptbl[i].s_addr, mstptbl[i].s_dis,
+ mstp_setclrbits_le32((uintptr_t)mstptbl[i].s_addr,
+ mstptbl[i].s_dis,
mstptbl[i].s_ena);
- mstp_setclrbits_le32(mstptbl[i].r_addr, mstptbl[i].r_dis,
+ mstp_setclrbits_le32((uintptr_t)mstptbl[i].r_addr,
+ mstptbl[i].r_dis,
mstptbl[i].r_ena);
}
}