summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-07-23 18:20:17 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-07-23 18:20:17 +0000
commit2910a2b5454f8de76c281739ae84814a4a1b47e3 (patch)
tree22400e5302321cd0b5857c9973141e18ad7bc280 /src/boot
parentde085393ed0dc30e5d81e3efa6deec54b0624fb6 (diff)
downloadcoreboot-2910a2b5454f8de76c281739ae84814a4a1b47e3.tar.xz
static devices
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1009 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/hardwaremain.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c
index 0477253ec4..4bb23fde80 100644
--- a/src/boot/hardwaremain.c
+++ b/src/boot/hardwaremain.c
@@ -35,6 +35,7 @@ it with the version available from LANL.
#include <part/sizeram.h>
#include <device/device.h>
#include <device/pci.h>
+#include <device/chip.h>
#include <delay.h>
#if 0
#include <part/mainboard.h>
@@ -146,6 +147,9 @@ void hardwaremain(int boot_complete)
unsigned long totalmem;
post_code(0x80);
+
+ CONFIGURE(CONF_PASS_PRE_CONSOLE);
+
/* displayinit MUST PRECEDE ALL PRINTK! */
console_init();
@@ -163,6 +167,7 @@ void hardwaremain(int boot_complete)
}
#endif
init_timer();
+ CONFIGURE(CONF_PASS_PRE_PCI);
/* pick how to scan the bus. This is first so we can get at memory size. */
printk_info("Finding PCI configuration type.\n");
@@ -215,6 +220,8 @@ void hardwaremain(int boot_complete)
*/
lb_mem = write_tables(mem, processor_map);
+ CONFIGURE(CONF_PASS_PRE_PCI);
+
elfboot(lb_mem);
}