diff options
Diffstat (limited to 'src/arch/armv7/bootblock_simple.c')
-rw-r--r-- | src/arch/armv7/bootblock_simple.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/armv7/bootblock_simple.c b/src/arch/armv7/bootblock_simple.c index f6bcf980b1..af76d4c973 100644 --- a/src/arch/armv7/bootblock_simple.c +++ b/src/arch/armv7/bootblock_simple.c @@ -20,6 +20,7 @@ */ #include <bootblock_common.h> +#include <arch/bootblock_exit.h> #include <arch/cbfs.h> #include <arch/hlt.h> @@ -36,7 +37,7 @@ static int boot_cpu(void) void main(unsigned long bist) { const char *target1 = "fallback/romstage"; - unsigned long entry; + unsigned long romstage_entry; if (boot_cpu()) { bootblock_cpu_init(); @@ -44,8 +45,8 @@ void main(unsigned long bist) } printk(BIOS_INFO, "bootblock main(): loading romstage\n"); - entry = loadstage(target1); + romstage_entry = loadstage(target1); printk(BIOS_INFO, "bootblock main(): jumping to romstage\n"); - if (entry) call(entry); + if (romstage_entry) bootblock_exit(romstage_entry); hlt(); } |