summaryrefslogtreecommitdiff
path: root/src/arch/x86/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/acpi.c')
-rw-r--r--src/arch/x86/acpi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c
index 9a031adff9..a21bae2a36 100644
--- a/src/arch/x86/acpi.c
+++ b/src/arch/x86/acpi.c
@@ -808,16 +808,9 @@ unsigned long write_acpi_tables(unsigned long start)
if (fw)
return fw;
-#if CONFIG_COMPILE_IN_DSDT
- extern char _binary_dsdt_aml_start;
- extern char _binary_dsdt_aml_end;
- dsdt_file = (acpi_header_t *)&_binary_dsdt_aml_start;
- dsdt_size = (size_t)(&_binary_dsdt_aml_end - &_binary_dsdt_aml_start);
-#else
dsdt_file = cbfs_boot_map_with_leak(
CONFIG_CBFS_PREFIX "/dsdt.aml",
CBFS_TYPE_RAW, &dsdt_size);
-#endif
if (!dsdt_file) {
printk(BIOS_ERR, "No DSDT file, skipping ACPI tables\n");
return current;