summaryrefslogtreecommitdiff
path: root/src/soc/intel/tigerlake/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/tigerlake/Makefile.inc')
-rw-r--r--src/soc/intel/tigerlake/Makefile.inc20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/soc/intel/tigerlake/Makefile.inc b/src/soc/intel/tigerlake/Makefile.inc
index 12d59b1f93..fd2464d505 100644
--- a/src/soc/intel/tigerlake/Makefile.inc
+++ b/src/soc/intel/tigerlake/Makefile.inc
@@ -20,15 +20,12 @@ bootblock-y += bootblock/cpu.c
bootblock-y += bootblock/pch.c
bootblock-y += bootblock/report_platform.c
bootblock-y += espi.c
-bootblock-$(CONFIG_SOC_INTEL_TIGERLAKE) += gpio_tgl.c
-bootblock-$(CONFIG_SOC_INTEL_JASPERLAKE) += gpio_jsl.c
+bootblock-y += gpio.c
bootblock-y += p2sb.c
romstage-y += espi.c
-romstage-$(CONFIG_SOC_INTEL_TIGERLAKE) += meminit_tgl.c
-romstage-$(CONFIG_SOC_INTEL_JASPERLAKE) += meminit_jsl.c
-romstage-$(CONFIG_SOC_INTEL_TIGERLAKE) += gpio_tgl.c
-romstage-$(CONFIG_SOC_INTEL_JASPERLAKE) += gpio_jsl.c
+romstage-y += meminit.c
+romstage-y += gpio.c
romstage-y += reset.c
ramstage-y += acpi.c
@@ -37,10 +34,8 @@ ramstage-y += cpu.c
ramstage-y += elog.c
ramstage-y += espi.c
ramstage-y += finalize.c
-ramstage-$(CONFIG_SOC_INTEL_TIGERLAKE) += fsp_params_tgl.c
-ramstage-$(CONFIG_SOC_INTEL_JASPERLAKE) += fsp_params_jsl.c
-ramstage-$(CONFIG_SOC_INTEL_TIGERLAKE) += gpio_tgl.c
-ramstage-$(CONFIG_SOC_INTEL_JASPERLAKE) += gpio_jsl.c
+ramstage-y += fsp_params.c
+ramstage-y += gpio.c
ramstage-y += graphics.c
ramstage-y += lockdown.c
ramstage-y += p2sb.c
@@ -50,15 +45,14 @@ ramstage-y += smmrelocate.c
ramstage-y += systemagent.c
ramstage-y += sd.c
-smm-$(CONFIG_SOC_INTEL_TIGERLAKE) += gpio_tgl.c
-smm-$(CONFIG_SOC_INTEL_JASPERLAKE) += gpio_jsl.c
+smm-y += gpio.c
smm-y += p2sb.c
smm-y += pmc.c
smm-y += pmutil.c
smm-y += smihandler.c
smm-y += uart.c
-verstage-$(CONFIG_SOC_INTEL_TIGERLAKE) += gpio_tgl.c
+verstage-y += gpio.c
CPPFLAGS_common += -I$(src)/soc/intel/tigerlake
CPPFLAGS_common += -I$(src)/soc/intel/tigerlake/include