From 5bed979a9b65f5eb1e4cb0a4fff8bf6fa32f4f77 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Wed, 23 Jul 2003 21:38:02 +0000 Subject: added post-pci pass git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1019 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/boot/hardwaremain.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/boot/hardwaremain.c') diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c index 4bb23fde80..ff0909fd97 100644 --- a/src/boot/hardwaremain.c +++ b/src/boot/hardwaremain.c @@ -166,7 +166,7 @@ void hardwaremain(int boot_complete) hard_reset(); } #endif - init_timer(); + 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. */ @@ -190,6 +190,8 @@ void hardwaremain(int boot_complete) dev_initialize(); post_code(0x89); + CONFIGURE(CONF_PASS_POST_PCI); + mem = get_ramsize(); post_code(0x70); totalmem = 0; @@ -220,7 +222,7 @@ void hardwaremain(int boot_complete) */ lb_mem = write_tables(mem, processor_map); - CONFIGURE(CONF_PASS_PRE_PCI); + CONFIGURE(CONF_PASS_PRE_BOOT); elfboot(lb_mem); } -- cgit v1.2.3