diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2014-05-01 23:32:49 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-05-05 15:09:09 +0200 |
commit | 4f381b1aaac3519a5772d6bec6fa4e6b06bb37ab (patch) | |
tree | 806f60a86676a8b03541038dc53bd64292e5f801 /arch/arm/boards/efika-mx-smartbook | |
parent | 0668b9fe0a0d24dfc873829d8d882176e08e15ae (diff) | |
download | barebox-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/efika-mx-smartbook')
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/lowlevel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/efika-mx-smartbook/lowlevel.c b/arch/arm/boards/efika-mx-smartbook/lowlevel.c index 72c8b00a31..0d32eee860 100644 --- a/arch/arm/boards/efika-mx-smartbook/lowlevel.c +++ b/arch/arm/boards/efika-mx-smartbook/lowlevel.c @@ -8,13 +8,13 @@ extern char __dtb_imx51_genesi_efika_sb_start[]; ENTRY_FUNCTION(start_imx51_genesi_efikasb, r0, r1, r2) { - uint32_t fdt; + void *fdt; arm_cpu_lowlevel_init(); arm_setup_stack(0x20000000 - 16); imx51_init_lowlevel(800); - fdt = (uint32_t)__dtb_imx51_genesi_efika_sb_start - get_runtime_offset(); + fdt = __dtb_imx51_genesi_efika_sb_start - get_runtime_offset(); imx51_barebox_entry(fdt); } |