diff options
author | David Hendricks <dhendrix@chromium.org> | 2013-01-09 16:14:00 -0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-01-10 20:27:08 +0100 |
commit | c82ec0ed33eddfff8dfb20de81376a329bc7f51e (patch) | |
tree | 548db7c9ad4d22b6bfeeae490b16510e554d5220 /src | |
parent | 9ad1f56951df3d3877b9ae588909b1cb059c1cd7 (diff) | |
download | coreboot-c82ec0ed33eddfff8dfb20de81376a329bc7f51e.tar.xz |
armv7: update board_init_f function signature
We don't pass arguments when we jump out of assembly code.
Change-Id: Iccf3a6f713e260b08f9ff47e8b542b9e96369166
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/2122
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/armv7/include/common.h | 3 | ||||
-rw-r--r-- | src/cpu/samsung/exynos5-common/spl_boot.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/armv7/include/common.h b/src/arch/armv7/include/common.h index e21cfb0239..2d4d020f37 100644 --- a/src/arch/armv7/include/common.h +++ b/src/arch/armv7/include/common.h @@ -164,8 +164,7 @@ void init_cmd_timeout(void); void reset_cmd_timeout(void); /* arch/$(ARCH)/lib/board.c */ -void board_init_f (ulong); -//void board_init_f (ulong) __attribute__ ((noreturn)); +void board_init_f (void); void board_init_r (gd_t *, ulong) __attribute__ ((noreturn)); int checkboard (void); int checkflash (void); diff --git a/src/cpu/samsung/exynos5-common/spl_boot.c b/src/cpu/samsung/exynos5-common/spl_boot.c index a734d5c17b..ecff87131e 100644 --- a/src/cpu/samsung/exynos5-common/spl_boot.c +++ b/src/cpu/samsung/exynos5-common/spl_boot.c @@ -308,7 +308,7 @@ static int __def_board_wakeup_permitted(void) int board_wakeup_permitted(void) __attribute__((weak, alias("__def_board_wakeup_permitted"))); -void board_init_f(unsigned long bootflag) +void board_init_f(void) { /* * The gd struct is only needed for serial initialization. Since this |