summaryrefslogtreecommitdiff
path: root/src/mainboard/advansus/a785e-i
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-11-13 14:41:52 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-16 01:13:02 +0100
commit55db955bcdad90c9ebd8b755ae417234d46d731a (patch)
tree92ecc34256fb803b7d2e5c072f97e6b7d995cc11 /src/mainboard/advansus/a785e-i
parent4dfdebadb6731bc291e30560cbd2f107a3c94b75 (diff)
downloadcoreboot-55db955bcdad90c9ebd8b755ae417234d46d731a.tar.xz
Drop unneeded BOARD_HAS_FADT option
Change-Id: Iaaeee87d70cf052bc7980007cdf1f7dda88b3623 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1836 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/advansus/a785e-i')
-rw-r--r--src/mainboard/advansus/a785e-i/Kconfig1
-rw-r--r--src/mainboard/advansus/a785e-i/acpi_tables.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/advansus/a785e-i/Kconfig b/src/mainboard/advansus/a785e-i/Kconfig
index ef5137bb22..1db6705a39 100644
--- a/src/mainboard/advansus/a785e-i/Kconfig
+++ b/src/mainboard/advansus/a785e-i/Kconfig
@@ -22,7 +22,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select AMDMCT
select HAVE_MP_TABLE
select HAVE_ACPI_TABLES
- select BOARD_HAS_FADT
select GENERATE_ACPI_TABLES
select BOARD_ROMSIZE_KB_1024
select RAMINIT_SYSINFO
diff --git a/src/mainboard/advansus/a785e-i/acpi_tables.c b/src/mainboard/advansus/a785e-i/acpi_tables.c
index fa93842dfc..0655565b67 100644
--- a/src/mainboard/advansus/a785e-i/acpi_tables.c
+++ b/src/mainboard/advansus/a785e-i/acpi_tables.c
@@ -235,8 +235,7 @@ unsigned long write_acpi_tables(unsigned long start)
current += sizeof(acpi_facs_t);
acpi_create_facs(facs);
- /* FDAT */
-#if CONFIG_BOARD_HAS_FADT
+ /* FADT */
current = ALIGN(current, 8);
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
fadt = (acpi_fadt_t *) current;
@@ -244,7 +243,6 @@ unsigned long write_acpi_tables(unsigned long start)
acpi_create_fadt(fadt, facs, dsdt);
acpi_add_table(rsdp, fadt);
-#endif
#if DUMP_ACPI_TABLES == 1
printk(BIOS_DEBUG, "rsdp\n");