summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/phytec-phycore-imx31
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/phytec-phycore-imx31
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/phytec-phycore-imx31')
-rw-r--r--arch/arm/boards/phytec-phycore-imx31/lowlevel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/phytec-phycore-imx31/lowlevel.c b/arch/arm/boards/phytec-phycore-imx31/lowlevel.c
index cd894c25ce..44fc5bc765 100644
--- a/arch/arm/boards/phytec-phycore-imx31/lowlevel.c
+++ b/arch/arm/boards/phytec-phycore-imx31/lowlevel.c
@@ -84,7 +84,7 @@ void __bare_init __naked barebox_arm_reset_vector(void)
/* Skip SDRAM initialization if we run from RAM */
r = get_pc();
if (r > 0x80000000 && r < 0xa0000000)
- imx31_barebox_entry(0);
+ imx31_barebox_entry(NULL);
#if defined CONFIG_PCM037_SDRAM_BANK0_128MB
#define ROWS0 ESDCTL0_ROW13
@@ -131,6 +131,6 @@ void __bare_init __naked barebox_arm_reset_vector(void)
imx31_barebox_boot_nand_external(0);
} else {
- imx31_barebox_entry(0);
+ imx31_barebox_entry(NULL);
}
}