arch: remove stage_exit()

It's no longer used. Remove it.

Change-Id: Id6f4084ab9d671e94f0eee76bf36fad9a174ef14
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/13678
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Aaron Durbin
2016-02-10 22:54:07 -06:00
parent 69d20c45ec
commit ae3f3024d9
8 changed files with 0 additions and 53 deletions

View File

@@ -19,6 +19,5 @@
extern void main(void);
void stage_entry(void);
void stage_exit(void *);
#endif

View File

@@ -34,19 +34,3 @@ __attribute__((weak)) void stage_entry(void)
{
main();
}
/* we had marked 'doit' as 'noreturn'.
* There is no apparent harm in leaving it as something we can return from, and in the one
* case where we call a payload, the payload is allowed to return.
* Hence, leave it as something we can return from.
*/
void stage_exit(void *addr)
{
void (*doit)(void) = addr;
/*
* Most stages load code so we need to sync caches here. Should maybe
* go into cbfs_load_stage() instead...
*/
cache_sync_instructions();
doit();
}