From 55db955bcdad90c9ebd8b755ae417234d46d731a Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 13 Nov 2012 14:41:52 -0800 Subject: Drop unneeded BOARD_HAS_FADT option Change-Id: Iaaeee87d70cf052bc7980007cdf1f7dda88b3623 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1836 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/advansus/a785e-i/Kconfig | 1 - src/mainboard/advansus/a785e-i/acpi_tables.c | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mainboard/advansus') 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"); -- cgit v1.2.3