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>
This commit is contained in:
parent
4dfdebadb6
commit
55db955bcd
|
@ -14,16 +14,6 @@ config BOARD_HAS_HARD_RESET
|
|||
This variable specifies whether a given board has a reset.c
|
||||
file containing a hard_reset() function.
|
||||
|
||||
# It might be possible to consolidate FADTs to southbridges. This would
|
||||
# improve code reuse in the tree.
|
||||
config BOARD_HAS_FADT
|
||||
bool
|
||||
default n
|
||||
help
|
||||
This variable specifies whether a given board has a board-local
|
||||
FADT in fadt.c. Long-term, those should be moved to appropriate
|
||||
chipset components (eg. southbridge).
|
||||
|
||||
# Will be removed (alongside with the PS/2 init code) once payloads
|
||||
# reliably support PS/2 init themselves.
|
||||
config DRIVERS_PS2_KEYBOARD
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -9,7 +9,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SOUTHBRIDGE_AMD_RS690
|
||||
select SOUTHBRIDGE_AMD_SB600
|
||||
select SUPERIO_ITE_IT8712F
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_ACPI_TABLES
|
||||
select HAVE_MP_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
|
|
|
@ -33,7 +33,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select LIFT_BSP_APIC_ID
|
||||
select SERIAL_CPU_INIT
|
||||
select BOARD_ROMSIZE_KB_2048
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -9,7 +9,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
|
||||
select SOUTHBRIDGE_AMD_RS690
|
||||
select SOUTHBRIDGE_AMD_SB600
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -13,7 +13,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SOUTHBRIDGE_AMD_AMD8111
|
||||
select SOUTHBRIDGE_AMD_AMD8131
|
||||
select SUPERIO_WINBOND_W83627HF
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -10,7 +10,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SOUTHBRIDGE_AMD_AMD8111
|
||||
select SOUTHBRIDGE_AMD_AMD8132
|
||||
select SUPERIO_WINBOND_W83627HF
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -29,7 +29,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select NORTHBRIDGE_AMD_AGESA_FAMILY12
|
||||
select SOUTHBRIDGE_AMD_CIMX_SB900
|
||||
select SUPERIO_SMSC_KBC1100
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -27,10 +27,6 @@ config IRQ_SLOT_COUNT
|
|||
int
|
||||
default 12
|
||||
|
||||
config BOARD_HAS_FADT
|
||||
bool
|
||||
default y
|
||||
|
||||
config MAX_CPUS
|
||||
int
|
||||
default 4
|
||||
|
|
|
@ -20,7 +20,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_2048
|
||||
select RAMINIT_SYSINFO
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -22,7 +22,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select AMDMCT
|
||||
select HAVE_MP_TABLE
|
||||
select HAVE_ACPI_TABLES
|
||||
select BOARD_HAS_FADT
|
||||
select BOARD_ROMSIZE_KB_2048
|
||||
select RAMINIT_SYSINFO
|
||||
select ENABLE_APIC_EXT_ID
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -30,7 +30,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SUPERIO_SMSC_FDC37N972
|
||||
select SUPERIO_SMSC_SIO10N268
|
||||
select EC_ACPI
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_ACPI_TABLES
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -9,7 +9,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select CHECK_SLFRCS_ON_RESUME
|
||||
select SOUTHBRIDGE_INTEL_I82801GX
|
||||
select SUPERIO_WINBOND_W83627EHG
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_ACPI_TABLES
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select CHECK_SLFRCS_ON_RESUME
|
||||
select SOUTHBRIDGE_INTEL_I82801GX
|
||||
select SUPERIO_SMSC_LPC47M15X
|
||||
select BOARD_HAS_FADT
|
||||
select GENERATE_ACPI_TABLES
|
||||
select GENERATE_PIRQ_TABLE
|
||||
select GENERATE_MP_TABLE
|
||||
|
|
|
@ -11,7 +11,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select HAVE_OPTION_TABLE
|
||||
select HAVE_HARD_RESET
|
||||
select BOARD_HAS_HARD_RESET
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
select MMCONF_SUPPORT
|
||||
|
|
|
@ -8,7 +8,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SOUTHBRIDGE_INTEL_C216
|
||||
select SUPERIO_SMSC_SIO1007
|
||||
select BOARD_ROMSIZE_KB_8192
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_ACPI_TABLES
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_ACPI_RESUME
|
||||
|
|
|
@ -7,7 +7,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select CPU_INTEL_SOCKET_441
|
||||
select NORTHBRIDGE_INTEL_SCH
|
||||
select SOUTHBRIDGE_INTEL_SCH
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_PIRQ_TABLE
|
||||
# select HAVE_MP_TABLE
|
||||
select MMCONF_SUPPORT
|
||||
|
|
|
@ -9,7 +9,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SOUTHBRIDGE_AMD_AMD8111
|
||||
select SOUTHBRIDGE_AMD_AMD8131
|
||||
select SUPERIO_WINBOND_W83627HF
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -9,7 +9,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select CHECK_SLFRCS_ON_RESUME
|
||||
select SOUTHBRIDGE_INTEL_I82801GX
|
||||
select SUPERIO_WINBOND_W83627THG
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_ACPI_TABLES
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -9,7 +9,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SOUTHBRIDGE_AMD_RS690
|
||||
select SOUTHBRIDGE_AMD_SB600
|
||||
select SUPERIO_WINBOND_W83627DHG
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -13,7 +13,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select EC_LENOVO_PMH7
|
||||
select EC_LENOVO_H8
|
||||
select DRIVERS_ICS_954309
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -13,7 +13,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select EC_LENOVO_PMH7
|
||||
select EC_LENOVO_H8
|
||||
select DRIVERS_ICS_954309
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -11,7 +11,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SUPERIO_SMSC_LPC47N227
|
||||
select SUPERIO_RENESAS_M3885X
|
||||
select EC_ACPI
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -3,7 +3,6 @@ if BOARD_SAMSUNG_LUMPY
|
|||
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||
def_bool y
|
||||
select ARCH_X86
|
||||
select BOARD_HAS_FADT
|
||||
select BOARD_ROMSIZE_KB_8192
|
||||
select CHROMEOS
|
||||
select CPU_INTEL_SOCKET_RPGA989
|
||||
|
|
|
@ -3,7 +3,6 @@ if BOARD_SAMSUNG_STUMPY
|
|||
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||
def_bool y
|
||||
select ARCH_X86
|
||||
select BOARD_HAS_FADT
|
||||
select BOARD_ROMSIZE_KB_8192
|
||||
select CHROMEOS
|
||||
select CPU_INTEL_SOCKET_RPGA989
|
||||
|
|
|
@ -9,7 +9,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SOUTHBRIDGE_AMD_RS690
|
||||
select SOUTHBRIDGE_AMD_SB600
|
||||
select SUPERIO_ITE_IT8712F
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_ACPI_TABLES
|
||||
select HAVE_MP_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
|
|
|
@ -32,7 +32,6 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select SUPERIO_NUVOTON_WPCM450
|
||||
select DRIVERS_I2C_W83795
|
||||
select UDELAY_TSC
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -9,7 +9,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SOUTHBRIDGE_AMD_RS690
|
||||
select SOUTHBRIDGE_AMD_SB600
|
||||
select SUPERIO_ITE_IT8712F
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -9,7 +9,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SOUTHBRIDGE_AMD_RS690
|
||||
select SOUTHBRIDGE_AMD_SB600
|
||||
select SUPERIO_ITE_IT8712F
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -32,7 +32,6 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select SUPERIO_NUVOTON_WPCM450
|
||||
select DRIVERS_I2C_W83795
|
||||
select UDELAY_TSC
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -8,7 +8,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select SOUTHBRIDGE_VIA_VT8235
|
||||
select SOUTHBRIDGE_RICOH_RL5C476
|
||||
select SUPERIO_VIA_VT1211
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_ACPI_TABLES
|
||||
|
|
|
@ -6,7 +6,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select CPU_VIA_C7
|
||||
select NORTHBRIDGE_VIA_VX800
|
||||
select SUPERIO_WINBOND_W83697HF
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_PIRQ_TABLE
|
||||
# Note: For ACPI, you need to use the 'get_dsdt' script and uncomment
|
||||
# the "select HAVE_ACPI_TABLES" line below.
|
||||
|
|
|
@ -7,7 +7,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select NORTHBRIDGE_VIA_CN400
|
||||
select SOUTHBRIDGE_VIA_VT8237R
|
||||
select SUPERIO_WINBOND_W83697HF
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
|
@ -6,7 +6,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select CPU_VIA_C7
|
||||
select NORTHBRIDGE_VIA_CX700
|
||||
select SUPERIO_VIA_VT1211
|
||||
select BOARD_HAS_FADT
|
||||
select HAVE_OPTION_TABLE
|
||||
select HAVE_PIRQ_TABLE
|
||||
select HAVE_MP_TABLE
|
||||
|
|
Loading…
Reference in New Issue