moved init_timer() to static initialization

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1099 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2003-09-03 21:30:18 +00:00
parent f72ff36e76
commit 481b5688b5
2 changed files with 3 additions and 1 deletions

View File

@ -162,7 +162,6 @@ void hardwaremain(int boot_complete)
if (boot_complete) { if (boot_complete) {
hard_reset(); hard_reset();
} }
init_timer(); /* needs to be moved into static configuration */
CONFIGURE(CONF_PASS_PRE_PCI); CONFIGURE(CONF_PASS_PRE_PCI);
/* pick how to scan the bus. This is first so we can get at memory size. */ /* pick how to scan the bus. This is first so we can get at memory size. */

View File

@ -77,6 +77,9 @@ void k8_enable(struct chip *chip, enum chip_pass pass)
switch (pass) { switch (pass) {
case CONF_PASS_PRE_CONSOLE: case CONF_PASS_PRE_CONSOLE:
break; break;
case CONF_PASS_PRE_PCI:
init_timer();
break;
default: default:
/* nothing yet */ /* nothing yet */
break; break;