summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-09-03 21:30:18 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-09-03 21:30:18 +0000
commit481b5688b5f462db7fa0b27b7fdaf8c8f54fc78a (patch)
treeef9acec708f3ea4fa3b9406a9ee9dbc4b5b8bdfd /src
parentf72ff36e76d0fb990655da8922ee695a0f8afecc (diff)
downloadcoreboot-481b5688b5f462db7fa0b27b7fdaf8c8f54fc78a.tar.xz
moved init_timer() to static initialization
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1099 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-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;