summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/gk802/lowlevel.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-05-01 23:32:49 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-05 15:09:09 +0200
commit4f381b1aaac3519a5772d6bec6fa4e6b06bb37ab (patch)
tree806f60a86676a8b03541038dc53bd64292e5f801 /arch/arm/boards/gk802/lowlevel.c
parent0668b9fe0a0d24dfc873829d8d882176e08e15ae (diff)
downloadbarebox-4f381b1aaac3519a5772d6bec6fa4e6b06bb37ab.tar.gz
barebox-4f381b1aaac3519a5772d6bec6fa4e6b06bb37ab.tar.xz
ARM: change signature of barebox_arm_entry
Mostly to make it clear that boarddata needs to be something we can dereference. As this is a pretty invasive change, use the opportunity to make the signature 64bit safe. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/gk802/lowlevel.c')
-rw-r--r--arch/arm/boards/gk802/lowlevel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/gk802/lowlevel.c b/arch/arm/boards/gk802/lowlevel.c
index e159ddbb2..bfedfb6c9 100644
--- a/arch/arm/boards/gk802/lowlevel.c
+++ b/arch/arm/boards/gk802/lowlevel.c
@@ -7,10 +7,10 @@ extern char __dtb_imx6q_gk802_start[];
ENTRY_FUNCTION(start_imx6_gk802, r0, r1, r2)
{
- uint32_t fdt;
+ void *fdt;
arm_cpu_lowlevel_init();
- fdt = (uint32_t)__dtb_imx6q_gk802_start - get_runtime_offset();
+ fdt = __dtb_imx6q_gk802_start - get_runtime_offset();
barebox_arm_entry(0x10000000, SZ_1G, fdt);
}