From: Kevin O'Connor Date: Sat, 9 Jun 2012 17:46:11 +0000 (-0400) Subject: Remove SMBIOS generation on coreboot hack. X-Git-Tag: rel-1.7.1~31 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7a88c87f99bd694fc4815854056e0ac529ae905d;p=seabios.git Remove SMBIOS generation on coreboot hack. 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 --- diff --git a/src/Kconfig b/src/Kconfig index 53fda9b..25b2b1b 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -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 diff --git a/src/coreboot.c b/src/coreboot.c index 9de99af..55590ce 100644 --- a/src/coreboot.c +++ b/src/coreboot.c @@ -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(); }