diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-08-12 16:09:00 +0300 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2013-08-15 20:49:03 +0200 |
commit | c66f1cbdae6dced6410c0fc108cb0a1e3b3aa1e2 (patch) | |
tree | 73043d8daf44c9a3e26c9daa63bf3936a161bf8f /src/cpu/x86 | |
parent | f040858ec31ffef5b746bb9856be6395a20c98ce (diff) |
Include boot_cpu.c for romstage builds
ROMCC boards were left unmodified.
Change-Id: I3d842196b3f5b6999b6891b914036e9ffcc3cef0
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3853
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/cpu/x86')
-rw-r--r-- | src/cpu/x86/lapic/Makefile.inc | 1 | ||||
-rw-r--r-- | src/cpu/x86/lapic/boot_cpu.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/x86/lapic/Makefile.inc b/src/cpu/x86/lapic/Makefile.inc index 6663c12880..3061024f39 100644 --- a/src/cpu/x86/lapic/Makefile.inc +++ b/src/cpu/x86/lapic/Makefile.inc @@ -3,4 +3,5 @@ ramstage-y += lapic_cpu_init.c ramstage-y += secondary.S romstage-$(CONFIG_UDELAY_LAPIC) += apic_timer.c ramstage-$(CONFIG_UDELAY_LAPIC) += apic_timer.c +romstage-y += boot_cpu.c ramstage-y += boot_cpu.c diff --git a/src/cpu/x86/lapic/boot_cpu.c b/src/cpu/x86/lapic/boot_cpu.c index 0fb9d5d35c..308b0876b3 100644 --- a/src/cpu/x86/lapic/boot_cpu.c +++ b/src/cpu/x86/lapic/boot_cpu.c @@ -10,7 +10,5 @@ int boot_cpu(void) bsp = !!(msr.lo & (1 << 8)); return bsp; } -#else -#define boot_cpu(x) 1 #endif |