From 481b5688b5f462db7fa0b27b7fdaf8c8f54fc78a Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Wed, 3 Sep 2003 21:30:18 +0000 Subject: moved init_timer() to static initialization git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1099 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/boot/hardwaremain.c | 1 - src/cpu/k8/cpufixup.c | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c index 6e3aa1b27f..de7600743d 100644 --- a/src/boot/hardwaremain.c +++ b/src/boot/hardwaremain.c @@ -162,7 +162,6 @@ void hardwaremain(int boot_complete) if (boot_complete) { hard_reset(); } - init_timer(); /* needs to be moved into static configuration */ CONFIGURE(CONF_PASS_PRE_PCI); /* pick how to scan the bus. This is first so we can get at memory size. */ diff --git a/src/cpu/k8/cpufixup.c b/src/cpu/k8/cpufixup.c index c9979c180b..d5ccfc299d 100644 --- a/src/cpu/k8/cpufixup.c +++ b/src/cpu/k8/cpufixup.c @@ -77,6 +77,9 @@ void k8_enable(struct chip *chip, enum chip_pass pass) switch (pass) { case CONF_PASS_PRE_CONSOLE: break; + case CONF_PASS_PRE_PCI: + init_timer(); + break; default: /* nothing yet */ break; -- cgit v1.2.3