summaryrefslogtreecommitdiff
path: root/src/arch/armv7/bootblock_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/armv7/bootblock_simple.c')
-rw-r--r--src/arch/armv7/bootblock_simple.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/arch/armv7/bootblock_simple.c b/src/arch/armv7/bootblock_simple.c
index bc3ef53ae5..bcd83b8c36 100644
--- a/src/arch/armv7/bootblock_simple.c
+++ b/src/arch/armv7/bootblock_simple.c
@@ -19,16 +19,14 @@
* MA 02110-1301 USA
*/
-#include <bootblock_common.h>
#include <arch/cache.h>
#include <arch/hlt.h>
#include <arch/stages.h>
+#include <bootblock_common.h>
#include <cbfs.h>
#include <console/console.h>
#include <smp/node.h>
-#include "stages.c"
-
void main(void)
{
const char *stage_name = "fallback/romstage";
@@ -51,10 +49,8 @@ void main(void)
sctlr |= SCTLR_Z | SCTLR_I;
write_sctlr(sctlr);
- if (boot_cpu()) {
- bootblock_cpu_init();
- bootblock_mainboard_init();
- }
+ bootblock_cpu_init();
+ bootblock_mainboard_init();
#if CONFIG_BOOTBLOCK_CONSOLE
console_init();