mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
move the vga step just a bit earlier.
This commit is contained in:
parent
65648be911
commit
02846565a9
1 changed files with 12 additions and 9 deletions
|
@ -367,19 +367,13 @@ void hardwaremain(int boot_complete)
|
|||
final_mainboard_fixup();
|
||||
post_code(0xec);
|
||||
|
||||
|
||||
#endif /* MAINBOARD_FIXUP_IN_CHARGE */
|
||||
|
||||
#ifdef USE_NEW_SUPERIO_INTERFACE
|
||||
handle_superio(2, all_superio, nsuperio);
|
||||
#endif
|
||||
/* make certain we are the only cpu running in linuxBIOS */
|
||||
wait_for_other_cpus();
|
||||
|
||||
// we do this right here because:
|
||||
// - all the hardware is working, and some VGA bioses seem to need
|
||||
// that
|
||||
// - we need page 0 below for linuxbios tables.
|
||||
// This seems to be as early as possible to do this, since
|
||||
// final_mainboard_fixup may need to run before we can do
|
||||
// anything with vga.
|
||||
#if CONFIG_REALMODE_IDT == 1
|
||||
printk_debug("INSTALL REAL-MODE IDT\n");
|
||||
setup_realmode_idt();
|
||||
|
@ -390,6 +384,15 @@ void hardwaremain(int boot_complete)
|
|||
post_code(0x93);
|
||||
#endif
|
||||
|
||||
#endif /* MAINBOARD_FIXUP_IN_CHARGE */
|
||||
|
||||
#ifdef USE_NEW_SUPERIO_INTERFACE
|
||||
handle_superio(2, all_superio, nsuperio);
|
||||
#endif
|
||||
/* make certain we are the only cpu running in linuxBIOS */
|
||||
wait_for_other_cpus();
|
||||
|
||||
|
||||
/* Now that we have collected all of our information
|
||||
* write our configuration tables.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue