summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-11-09 10:29:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-11-12 08:31:47 +0100
commit1af3c82f731ae62a28e8eebf0996fb36db565d09 (patch)
tree1b887ed02b00f413b6946005daf4d0385ec8677b /arch/arm/cpu
parentdbab91cbe825c433f752e76eb8e109da4b8fee53 (diff)
downloadbarebox-1af3c82f731ae62a28e8eebf0996fb36db565d09.tar.gz
barebox-1af3c82f731ae62a28e8eebf0996fb36db565d09.tar.xz
ARM: start: Add missing prototype
start() has no prototype, add it. Since it is not called from anywhere in the barebox binary just add the prototype to the C file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/start.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c
index 540480d04e..0b3722e31d 100644
--- a/arch/arm/cpu/start.c
+++ b/arch/arm/cpu/start.c
@@ -239,6 +239,8 @@ void NAKED __section(.text_entry) start(void)
}
#else
+
+void start(unsigned long membase, unsigned long memsize, void *boarddata);
/*
* First function in the uncompressed image. We get here from
* the pbl. The stack already has been set up by the pbl.