diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-02-10 00:25:53 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-12 21:05:00 -0500 |
commit | 9f08c905aedd43fc2e5c70511f0c68500ed31748 (patch) | |
tree | 6d49dfadfb6a7f89c389950db4d3feaab7d21596 /src/post.c | |
parent | 5dbf1732940f94771e0b3c45c0960940276bc263 (diff) | |
download | seabios-9f08c905aedd43fc2e5c70511f0c68500ed31748.tar.gz |
Start device_hardware_setup in mainint even with CONFIG_THREAD_OPTIONROMS.
There's no real gain to starting the device_hardware_setup in the
middle of the platform setup. Always start it just prior to the VGA
rom.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/post.c')
-rw-r--r-- | src/post.c | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -163,19 +163,13 @@ platform_hardware_setup(void) pci_setup(); smm_setup(); - // Initialize mtrr + // Initialize mtrr and smp mtrr_setup(); + smp_setup(); // Setup Xen hypercalls xen_hypercall_setup(); - // Start hardware initialization (if optionrom threading) - if (CONFIG_THREAD_OPTIONROMS) - device_hardware_setup(); - - // Find and initialize other cpus - smp_setup(); - // Setup external BIOS interface tables if (CONFIG_COREBOOT) coreboot_biostable_setup(); @@ -225,6 +219,10 @@ maininit(void) // Setup platform devices. platform_hardware_setup(); + // Start hardware initialization (if optionrom threading) + if (CONFIG_THREAD_OPTIONROMS) + device_hardware_setup(); + // Run vga option rom vgarom_setup(); |