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>
This commit is contained in:
David Hendricks 2013-01-09 16:14:00 -08:00 committed by Ronald G. Minnich
parent 9ad1f56951
commit c82ec0ed33
2 changed files with 2 additions and 3 deletions

View File

@ -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);

View File

@ -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