David Hendricks (dhendrix@chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2122
-gerrit
commit 546a0d290eafe438b50d30bca0bc98b321b35580 Author: David Hendricks dhendrix@chromium.org Date: Wed Jan 9 16:14:00 2013 -0800
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 --- src/arch/armv7/include/common.h | 3 ++- src/cpu/samsung/exynos5-common/spl_boot.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/arch/armv7/include/common.h b/src/arch/armv7/include/common.h index e21cfb0..6a590d6 100644 --- a/src/arch/armv7/include/common.h +++ b/src/arch/armv7/include/common.h @@ -164,7 +164,8 @@ void init_cmd_timeout(void); void reset_cmd_timeout(void);
/* arch/$(ARCH)/lib/board.c */ -void board_init_f (ulong); +void board_init_f (void); +//void board_init_f (ulong); //void board_init_f (ulong) __attribute__ ((noreturn)); void board_init_r (gd_t *, ulong) __attribute__ ((noreturn)); int checkboard (void); diff --git a/src/cpu/samsung/exynos5-common/spl_boot.c b/src/cpu/samsung/exynos5-common/spl_boot.c index a734d5c..9b9bc23 100644 --- a/src/cpu/samsung/exynos5-common/spl_boot.c +++ b/src/cpu/samsung/exynos5-common/spl_boot.c @@ -308,7 +308,8 @@ 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(unsigned long bootflag) +void board_init_f(void) { /* * The gd struct is only needed for serial initialization. Since this