diff --git a/src/arch/i386/lib/c_start.S b/src/arch/i386/lib/c_start.S index 3de556f441..ce13d150d7 100644 --- a/src/arch/i386/lib/c_start.S +++ b/src/arch/i386/lib/c_start.S @@ -273,19 +273,6 @@ gdt: .word 0x0000, 0x0000 /* dummy */ .byte 0x00, 0x00, 0x00, 0x00 -#if defined(CONFIG_LEGACY_VGABIOS) && (CONFIG_LEGACY_VGABIOS == 1) - /* from monty: - * 0x00009a00,0000ffffULL, 20h: 16-bit 64k code at 0x00000000 - * 0x00009200,0000ffffULL 28h: 16-bit 64k data at 0x00000000 */ - - /* selgdt 0x28, 16-bit 64k code at 0x00000000 */ - .word 0xffff, 0x0000 - .byte 0x00, 0x9a, 0x00, 0x00 - - /* selgdt 0x30, 16-bit 64k data at 0x00000000 */ - .word 0xffff, 0x0000 - .byte 0, 0x92, 0, 0 -#endif /* defined(CONFIG_VGABIOS) && (CONFIG_VGABIOS == 1) */ gdt_end: idtarg: diff --git a/src/pc80/Config.lb b/src/pc80/Config.lb index d8e2a05216..1750a83bde 100644 --- a/src/pc80/Config.lb +++ b/src/pc80/Config.lb @@ -1,5 +1,4 @@ uses CONFIG_IDE -uses CONFIG_LEGACY_VGABIOS uses CONFIG_CONSOLE_VGA object mc146818rtc.o diff --git a/targets/Iwill/dk8s2/Config.lb b/targets/Iwill/dk8s2/Config.lb index d3c1124fb0..1fcdcdbfb7 100644 --- a/targets/Iwill/dk8s2/Config.lb +++ b/targets/Iwill/dk8s2/Config.lb @@ -57,11 +57,6 @@ uses XIP_ROM_BASE uses HAVE_HARD_RESET -#uses CONFIG_VGABIOS #OBSOLETE -#uses CONFIG_REALMODE_IDT #OBSOLETE -#uses CONFIG_PCIBIOS -#uses VGABIOS_START -#uses SCSIFW_START # #uses CONFIG_LSI_SCSI_FW_FIXUP @@ -81,12 +76,6 @@ option k8=1 option ROM_SIZE=1048576 option CONFIG_CONSOLE_BTEXT=1 -#option CONFIG_VGABIOS=1 #OBSOLETE -#option CONFIG_REALMODE_IDT=1 #OBSOLETE -#option CONFIG_PCIBIOS=0 -#option VGABIOS_START=0xfff8c000 -#option SCSIFW_START=0xfff80000 - option HAVE_FALLBACK_BOOT=1 diff --git a/targets/via/epia-m/Config.vga.filo b/targets/via/epia-m/Config.vga.filo index e381bc918e..0756650bba 100644 --- a/targets/via/epia-m/Config.vga.filo +++ b/targets/via/epia-m/Config.vga.filo @@ -10,12 +10,10 @@ option DEFAULT_CONSOLE_LOGLEVEL=8 option CONFIG_CONSOLE_SERIAL8250=1 option ROM_SIZE=256*1024 -option CONFIG_LEGACY_VGABIOS=1 option HAVE_OPTION_TABLE=1 option CONFIG_ROM_STREAM=1 option HAVE_FALLBACK_BOOT=1 -option VGABIOS_START=0xfffc0000 ### ### Compute the location and size of where this firmware image ### (linuxBIOS plus bootloader) will live in the boot rom chip.