summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/boot/hardwaremain.c1
-rw-r--r--src/cpu/k8/cpufixup.c3
2 files changed, 3 insertions, 1 deletions
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;