summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-01-03 15:55:40 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-10-16 12:01:10 +0200
commit822bc65b0e8cb9c17721b8b776ec7ecf6ac4129e (patch)
treeb32448affa8d83a08cc4a754aed4731b32c09882 /src/mainboard/emulation
parent0e64617d7d8adcd4d3db16eed7a34604691c2ee6 (diff)
downloadcoreboot-822bc65b0e8cb9c17721b8b776ec7ecf6ac4129e.tar.xz
ACPI: Remove CONFIG_GENERATE_ACPI_TABLES
As currently many systems would be barely functional without ACPI, always generate ACPI tables if supported. Change-Id: I372dbd03101030c904dab153552a1291f3b63518 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4609 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/fw_cfg.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
index 7e9358ac03..44256be442 100644
--- a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
+++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
@@ -20,9 +20,7 @@
#include <smbios.h>
#include <console/console.h>
#include <arch/io.h>
-#if CONFIG_GENERATE_ACPI_TABLES
-# include <arch/acpigen.h>
-#endif
+#include <arch/acpigen.h>
#include "fw_cfg.h"
#include "fw_cfg_if.h"
@@ -123,8 +121,6 @@ int fw_cfg_max_cpus(void)
/* ---------------------------------------------------------------------- */
-#if CONFIG_GENERATE_ACPI_TABLES
-
/*
* Starting with release 1.7 qemu provides acpi tables via fw_cfg.
* Main advantage is that new (virtual) hardware which needs acpi
@@ -313,8 +309,6 @@ err:
return 0;
}
-#endif /* CONFIG_GENERATE_ACPI_TABLES */
-
/* ---------------------------------------------------------------------- */
/* pick up smbios information from fw_cfg */