diff options
Diffstat (limited to 'src/arch/mips/bootblock_simple.c')
-rw-r--r-- | src/arch/mips/bootblock_simple.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/arch/mips/bootblock_simple.c b/src/arch/mips/bootblock_simple.c index 49ea24d9d4..747a8bfff6 100644 --- a/src/arch/mips/bootblock_simple.c +++ b/src/arch/mips/bootblock_simple.c @@ -19,17 +19,12 @@ * MA 02110-1301 USA */ -#include <arch/hlt.h> -#include <arch/stages.h> #include <bootblock_common.h> -#include <cbfs.h> #include <console/console.h> +#include <program_loading.h> void main(void) { - const char *stage_name = "fallback/romstage"; - void *entry; - bootblock_cpu_init(); bootblock_mainboard_init(); @@ -37,9 +32,5 @@ void main(void) console_init(); #endif - entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, stage_name); - if (entry != (void *)-1) - stage_exit(entry); - - hlt(); + run_romstage(); } |