]> xenbits.xensource.com Git - seabios.git/commitdiff
Remove SMBIOS generation on coreboot hack.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 9 Jun 2012 17:46:11 +0000 (13:46 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 9 Jun 2012 17:46:11 +0000 (13:46 -0400)
Early versions of coreboot did not create an SMBIOS table (which Linux
needs in order to use the ACPI tables), so SeaBIOS had a hack to
generate an SMBIOS table.  However, recent versions of coreboot can
generate an SMBIOS table, so there is no longer a reason to support
this hack.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/Kconfig
src/coreboot.c

index 53fda9b7645663a66e6545bcc145b7fcc1c57237..25b2b1b84b94a7120c216cb7c2c0036103e55de7 100644 (file)
@@ -303,14 +303,13 @@ menu "BIOS interfaces"
 endmenu
 
 menu "BIOS Tables"
+    depends on !COREBOOT
     config PIRTABLE
-        depends on !COREBOOT
         bool "PIR table"
         default y
         help
             Support generation of a PIR table in 0xf000 segment.
     config MPTABLE
-        depends on !COREBOOT
         bool "MPTable"
         default y
         help
@@ -322,7 +321,6 @@ menu "BIOS Tables"
             Support generation of SM BIOS tables.  This is also
             sometimes called DMI.
     config ACPI
-        depends on !COREBOOT
         bool "ACPI"
         default y
         help
index 9de99af7c6e552fb9d5015c0ada22f093d8c5a59..55590cef642192f205bb929bd5a4258c38942360 100644 (file)
@@ -218,10 +218,6 @@ coreboot_copy_biostable(void)
         if (m->type == CB_MEM_TABLE)
             scan_tables(m->start, m->size);
     }
-
-    // XXX - create a dummy smbios table for now.
-    if (!SMBiosAddr)
-        smbios_init();
 }