summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/tqma53
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/tqma53
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/tqma53')
-rw-r--r--arch/arm/boards/tqma53/lowlevel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boards/tqma53/lowlevel.c b/arch/arm/boards/tqma53/lowlevel.c
index 320a03e7b9..0a67228008 100644
--- a/arch/arm/boards/tqma53/lowlevel.c
+++ b/arch/arm/boards/tqma53/lowlevel.c
@@ -22,7 +22,7 @@ static inline void setup_uart(void __iomem *base)
writel(0x00000001, base + 0x80);
}
-static void __noreturn start_imx53_tqma53_common(uint32_t fdt)
+static void __noreturn start_imx53_tqma53_common(void *fdt)
{
if (IS_ENABLED(CONFIG_DEBUG_LL)) {
writel(0x3, MX53_IOMUXC_BASE_ADDR + 0x278);
@@ -36,7 +36,7 @@ static void __noreturn start_imx53_tqma53_common(uint32_t fdt)
ENTRY_FUNCTION(start_imx53_mba53_512mib, r0, r1, r2)
{
- uint32_t fdt;
+ void *fdt;
arm_cpu_lowlevel_init();
@@ -44,14 +44,14 @@ ENTRY_FUNCTION(start_imx53_mba53_512mib, r0, r1, r2)
imx53_init_lowlevel_early(800);
- fdt = (uint32_t)__dtb_imx53_mba53_start - get_runtime_offset();
+ fdt = __dtb_imx53_mba53_start - get_runtime_offset();
start_imx53_tqma53_common(fdt);
}
ENTRY_FUNCTION(start_imx53_mba53_1gib, r0, r1, r2)
{
- uint32_t fdt;
+ void *fdt;
arm_cpu_lowlevel_init();
@@ -59,7 +59,7 @@ ENTRY_FUNCTION(start_imx53_mba53_1gib, r0, r1, r2)
imx53_init_lowlevel_early(800);
- fdt = (uint32_t)__dtb_imx53_mba53_start - get_runtime_offset();
+ fdt = __dtb_imx53_mba53_start - get_runtime_offset();
start_imx53_tqma53_common(fdt);
}