diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-14 19:15:37 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-18 10:10:40 +0100 |
commit | e52a250d23818045d9c8e4d3e3dfec9f74c781ea (patch) | |
tree | 052a53a281cd0ac4b24b62b511307c019c6f93d4 /arch/arm/boards/archosg9 | |
parent | d3945aae042523dbe233fa044b7857a4fb774821 (diff) | |
download | barebox-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/archosg9')
-rw-r--r-- | arch/arm/boards/archosg9/lowlevel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/archosg9/lowlevel.c b/arch/arm/boards/archosg9/lowlevel.c index c76d04b905..2a93428462 100644 --- a/arch/arm/boards/archosg9/lowlevel.c +++ b/arch/arm/boards/archosg9/lowlevel.c @@ -66,9 +66,9 @@ static noinline void archosg9_init_lowlevel(void) omap4_ddr_init(&ddr_regs_400_mhz_2cs, &core); } -void __naked __bare_init barebox_arm_reset_vector(uint32_t *data) +void __naked __bare_init barebox_arm_reset_vector(uint32_t r0, uint32_t r1, uint32_t r2) { - omap4_save_bootinfo(data); + omap4_save_bootinfo((void *)r0); arm_cpu_lowlevel_init(); |