Rename hardwaremain() to main()

... and drop the wrapper on ARMv7

Change-Id: If3ffe953cee9e61d4dcbb38f4e5e2ca74b628ccc
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3639
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Stefan Reinauer
2013-05-09 16:30:06 -07:00
committed by Stefan Reinauer
parent 2ae6d6f6de
commit 6adef0847e
27 changed files with 25 additions and 94 deletions

View File

@@ -165,7 +165,7 @@ void boot_state_current_block(void);
void boot_state_current_unblock(void);
/* Entry into the boot state machine. */
void hardwaremain(void);
void main(void);
/* In order to schedule boot state callbacks at compile-time specify the
* entries in an array using the BOOT_STATE_INIT_ENTRIES and

View File

@@ -83,16 +83,16 @@
#define POST_ENTRY_C_START 0x13
/**
* \brief Pre call to hardwaremain()
* \brief Pre call to ram stage main()
*
* POSTed right before hardwaremain is called from c_start.S
* POSTed right before ram stage main() is called from c_start.S
*/
#define POST_PRE_HARDWAREMAIN 0x79
/**
* \brief Entry into coreboot in hardwaremain (RAM)
* \brief Entry into coreboot in ram stage main()
*
* This is the first call in hardwaremain.c. If this code is POSTed, then
* This is the first call in ram stage main(). If this code is POSTed, then
* ramstage has succesfully loaded and started executing.
*/
#define POST_ENTRY_RAMSTAGE 0x80