summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/phytec-phycore-imx31
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-14 19:15:37 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-18 10:10:40 +0100
commite52a250d23818045d9c8e4d3e3dfec9f74c781ea (patch)
tree052a53a281cd0ac4b24b62b511307c019c6f93d4 /arch/arm/boards/phytec-phycore-imx31
parentd3945aae042523dbe233fa044b7857a4fb774821 (diff)
downloadbarebox-e52a250d23818045d9c8e4d3e3dfec9f74c781ea.tar.gz
barebox-e52a250d23818045d9c8e4d3e3dfec9f74c781ea.tar.xz
ARM: boards: Harmonize barebox_arm_reset_vector() prototype
barebox_arm_reset_vector() is a global function but we never provided a prototype anywhere. The prototypes differ for the different boards, so to provide a common prototype we must harmonize them. void barebox_arm_reset_vector(uint32_t r0, uint32_t r1, uint32_t r2) Should be suitable for all boards. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/phytec-phycore-imx31/lowlevel.c b/arch/arm/boards/phytec-phycore-imx31/lowlevel.c
index a3ba1c05dd..19296e5dac 100644
--- a/arch/arm/boards/phytec-phycore-imx31/lowlevel.c
+++ b/arch/arm/boards/phytec-phycore-imx31/lowlevel.c
@@ -31,7 +31,7 @@
#define ESDCTL0_VAL (ESDCTL0_SDE | ESDCTL0_ROW13 | ESDCTL0_COL10)
-void __bare_init __naked barebox_arm_reset_vector(void)
+void __bare_init __naked barebox_arm_reset_vector(uint32_t r0, uint32_t r1, uint32_t r2)
{
uint32_t r;
volatile int v;