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:
parent
f72ff36e76
commit
481b5688b5
|
@ -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. */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue