1 ## SPDX-License-Identifier: GPL-2.0-only
3 # CONFIG_HAVE_INTEL_FIRMWARE protects doing anything to the build.
6 all-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_RESET
) += reset.c
8 all-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_HPET
) += hpet.c
10 all-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_ME
) += me.c
12 ifeq ($(CONFIG_CONSOLE_I2C_SMBUS
),y
)
13 bootblock-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS
) += early_smbus.c
15 romstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS
) += early_smbus.c
17 ifeq ($(CONFIG_CONSOLE_I2C_SMBUS
),y
)
18 all-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS
) += smbus.c
20 romstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS
) += smbus.c
21 ramstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS
) += smbus.c
23 ramstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS
) += smbus_ops.c
25 romstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMCLIB
) += pmclib.c
27 ramstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_WATCHDOG
) += watchdog.c
29 all-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMBASE
) += pmbase.c
30 smm-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_PMBASE
) += pmbase.c
32 bootblock-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_USB_DEBUG
) += usb_debug.c
33 romstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_USB_DEBUG
) += usb_debug.c
34 ramstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_USB_DEBUG
) += usb_debug.c
36 bootblock-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO
) += gpio.c
37 verstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO
) += gpio.c
38 romstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO
) += gpio.c
39 ramstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO
) += gpio.c
40 smm-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_GPIO
) += gpio.c
42 all-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI
) += spi.c
43 ifeq ($(CONFIG_SPI_FLASH_SMM
),y
)
44 smm-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SPI
) += spi.c
47 ramstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_PIRQ_ACPI_GEN
) += acpi_pirq_gen.c
48 ramstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_RCBA_PIRQ
) += rcba_pirq.c
50 ramstage-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMM
) += pmutil.c smi.c
51 smm-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMM
) += pmutil.c smihandler.c
53 smm-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_FINALIZE
) += finalize.c
55 all-
$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_RTC
) += rtc.c