Alexandru Gagniuc (mr.nuke.me@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5501
-gerrit
commit 6c75446cd502b2c1ef46266ad70eb91988005391 Author: Alexandru Gagniuc mr.nuke.me@gmail.com Date: Mon Apr 14 10:54:00 2014 -0500
cpu/x86/lapic: Include lapic_timer.c in SMM objects if requested
This is needed on AMD CPUs for the implementation of udelay().
Change-Id: Ifa02ca73455b382f830c9b30b80b4f1bb18706b4 Signed-off-by: Alexandru Gagniuc mr.nuke.me@gmail.com --- src/cpu/x86/lapic/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/cpu/x86/lapic/Makefile.inc b/src/cpu/x86/lapic/Makefile.inc index 3061024..7479dc5 100644 --- a/src/cpu/x86/lapic/Makefile.inc +++ b/src/cpu/x86/lapic/Makefile.inc @@ -5,3 +5,7 @@ romstage-$(CONFIG_UDELAY_LAPIC) += apic_timer.c ramstage-$(CONFIG_UDELAY_LAPIC) += apic_timer.c romstage-y += boot_cpu.c ramstage-y += boot_cpu.c + +ifeq ($(CONFIG_UDELAY_LAPIC), y) +smm-$(CONFIG_HAVE_SMI_HANDLER) += apic_timer.c +endif