aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/x86/lapic/Config.lb
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-07-21 21:19:06 +0000
committerStefan Reinauer <stepan@openbios.org>2009-07-21 21:19:06 +0000
commit4fbefdd1a9c67e3ce2a215192e47278148580c2f (patch)
tree2e7ca0b42bf30f63c463552a7c40ebefc3ea1c42 /src/cpu/x86/lapic/Config.lb
parent925b6c0c43b92b4790533b15f78ca824f9130d8b (diff)
* rework tsc based timer code to use inb instead of outb for calibration
* Add generic Local APIC based timer code. This timer does not need expensive calibration and thus reduces the boot time by up to more than a second. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4446 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/x86/lapic/Config.lb')
-rw-r--r--src/cpu/x86/lapic/Config.lb8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/x86/lapic/Config.lb b/src/cpu/x86/lapic/Config.lb
index 8b5eaa376e..b0636f3abd 100644
--- a/src/cpu/x86/lapic/Config.lb
+++ b/src/cpu/x86/lapic/Config.lb
@@ -1,3 +1,11 @@
+uses CONFIG_UDELAY_LAPIC
+
object lapic.o
object lapic_cpu_init.o
object secondary.S
+
+if CONFIG_UDELAY_LAPIC
+ default HAVE_INIT_TIMER=1
+ object apic_timer.o
+end
+