soc/intel/pantherlake: Remove soc_info.[hc] interface
[coreboot2.git] / src / southbridge / intel / common / Makefile.mk
blob2f4c77756171b022a00889724517f52ff52bf766
1 ## SPDX-License-Identifier: GPL-2.0-only
3 # CONFIG_HAVE_INTEL_FIRMWARE protects doing anything to the build.
4 subdirs-y += firmware
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
14 endif
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
19 else
20 romstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS) += smbus.c
21 ramstage-$(CONFIG_SOUTHBRIDGE_INTEL_COMMON_SMBUS) += smbus.c
22 endif
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
45 endif
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