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>
This commit is contained in:
@@ -42,7 +42,7 @@ ramstage-y += pci.c
|
||||
ramstage-y += pcie.c
|
||||
ramstage-y += sd.c
|
||||
|
||||
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||
ramstage-y += reset.c
|
||||
romstage-$(CONFIG_USBDEBUG_IN_ROMSTAGE) += enable_usbdebug.c
|
||||
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
||||
|
@@ -89,7 +89,7 @@ static int lsmbus_block_write(device_t dev, uint8_t cmd, u8 bytes, const u8 *buf
|
||||
}
|
||||
|
||||
|
||||
#if CONFIG_GENERATE_ACPI_TABLES
|
||||
#if CONFIG_HAVE_ACPI_TABLES
|
||||
unsigned pm_base;
|
||||
#endif
|
||||
|
||||
@@ -161,7 +161,7 @@ static void acpi_init(struct device *dev)
|
||||
(on*12)+(on>>1),(on&1)*5);
|
||||
}
|
||||
|
||||
#if CONFIG_GENERATE_ACPI_TABLES
|
||||
#if CONFIG_HAVE_ACPI_TABLES
|
||||
pm_base = pci_read_config16(dev, 0x58) & 0xff00;
|
||||
printk(BIOS_DEBUG, "pm_base: 0x%04x\n",pm_base);
|
||||
#endif
|
||||
|
@@ -32,7 +32,7 @@ ramstage-y += reset.c
|
||||
ramstage-$(CONFIG_SB800_MANUAL_FAN_CONTROL) += fan.c
|
||||
ramstage-$(CONFIG_SB800_IMC_FAN_CONTROL) += fan.c
|
||||
ramstage-$(CONFIG_SPI_FLASH) += spi.c
|
||||
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||
|
||||
romstage-$(CONFIG_USBDEBUG_IN_ROMSTAGE) += ../../sb800/enable_usbdebug.c
|
||||
ramstage-$(CONFIG_USBDEBUG) += ../../sb800/enable_usbdebug.c
|
||||
|
@@ -7,7 +7,7 @@ ramstage-y += ide.c
|
||||
ramstage-y += sata.c
|
||||
ramstage-y += hda.c
|
||||
ramstage-y += pci.c
|
||||
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||
romstage-y += reset.c
|
||||
ramstage-y += reset.c
|
||||
romstage-$(CONFIG_USBDEBUG_IN_ROMSTAGE) += enable_usbdebug.c
|
||||
|
@@ -7,7 +7,7 @@ ramstage-y += sata.c
|
||||
ramstage-y += hda.c
|
||||
ramstage-y += pci.c
|
||||
ramstage-y += pcie.c
|
||||
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||
ramstage-y += reset.c
|
||||
romstage-$(CONFIG_USBDEBUG_IN_ROMSTAGE) += enable_usbdebug.c
|
||||
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
||||
|
@@ -29,7 +29,7 @@ ramstage-y += reset.c
|
||||
ramstage-y += watchdog.c
|
||||
ramstage-y += spi.c
|
||||
ramstage-y += smbus.c
|
||||
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi.c
|
||||
ramstage-y += acpi.c
|
||||
|
||||
romstage-y += early_usb.c early_smbus.c gpio.c reset.c early_spi.c early_init.c
|
||||
romstage-y += romstage.c
|
||||
|
@@ -24,8 +24,8 @@ ramstage-y += ide.c
|
||||
ramstage-y += usb.c
|
||||
ramstage-y += smbus.c
|
||||
ramstage-y += reset.c
|
||||
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
|
||||
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi_tables.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_RESUME) += wakeup.c
|
||||
|
||||
romstage-y += early_pm.c
|
||||
|
@@ -13,7 +13,7 @@ ramstage-y += ht.c
|
||||
|
||||
ramstage-y += reset.c
|
||||
|
||||
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||
|
||||
romstage-$(CONFIG_USBDEBUG_IN_ROMSTAGE) += enable_usbdebug.c
|
||||
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
||||
|
@@ -11,7 +11,7 @@ ramstage-y += smbus.c
|
||||
ramstage-y += usb2.c
|
||||
ramstage-y += usb.c
|
||||
|
||||
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||
|
||||
ramstage-y += reset.c
|
||||
|
||||
|
@@ -93,7 +93,7 @@ static struct smbus_bus_operations lops_smbus_bus = {
|
||||
.write_byte = lsmbus_write_byte,
|
||||
};
|
||||
|
||||
#if CONFIG_GENERATE_ACPI_TABLES
|
||||
#if CONFIG_HAVE_ACPI_TABLES
|
||||
unsigned pm_base;
|
||||
#endif
|
||||
|
||||
@@ -112,7 +112,7 @@ static void mcp55_sm_read_resources(device_t dev)
|
||||
|
||||
static void mcp55_sm_init(device_t dev)
|
||||
{
|
||||
#if CONFIG_GENERATE_ACPI_TABLES
|
||||
#if CONFIG_HAVE_ACPI_TABLES
|
||||
struct resource *res;
|
||||
|
||||
res = find_resource(dev, 0x60);
|
||||
|
@@ -24,6 +24,6 @@ ramstage-y += lpc.c
|
||||
ramstage-y += sata.c
|
||||
ramstage-y += usb.c
|
||||
ramstage-$(CONFIG_PIRQ_ROUTE) += pirq.c
|
||||
ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c
|
||||
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
|
||||
|
Reference in New Issue
Block a user