aboutsummaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/armv7/Makefile.inc2
-rw-r--r--src/arch/x86/lib/c_start.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/armv7/Makefile.inc b/src/arch/armv7/Makefile.inc
index 104577445c..8637ef434e 100644
--- a/src/arch/armv7/Makefile.inc
+++ b/src/arch/armv7/Makefile.inc
@@ -162,7 +162,7 @@ ramstage-y += exception.c
ramstage-y += exception_asm.S
romstage-srcs += $(objgenerated)/crt0.s
-ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/mainboard.c
+ramstage-srcs += $(wildcard src/mainboard/$(MAINBOARDDIR)/mainboard.c)
ifeq ($(CONFIG_GENERATE_PIRQ_TABLE),y)
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/irq_tables.c
endif
diff --git a/src/arch/x86/lib/c_start.S b/src/arch/x86/lib/c_start.S
index c725f82670..01ffa7c42c 100644
--- a/src/arch/x86/lib/c_start.S
+++ b/src/arch/x86/lib/c_start.S
@@ -86,7 +86,7 @@ _start:
#if CONFIG_GDB_WAIT
call gdb_stub_breakpoint
#endif
- call hardwaremain
+ call main
/* NOTREACHED */
.Lhlt:
post_code(POST_DEAD_CODE) /* post ee */