1 ifeq ($(CONFIG_SOC_INTEL_ALDERLAKE),y)
3 subdirs-y += ../../../cpu/intel/microcode
4 subdirs-y += ../../../cpu/intel/turbo
6 # all (bootblock, verstage, romstage, postcar, ramstage)
13 bootblock-y += bootblock/bootblock.c
14 bootblock-y += bootblock/pch.c
15 bootblock-y += bootblock/report_platform.c
18 bootblock-$(CONFIG_ALDERLAKE_CONFIGURE_DESCRIPTOR) += bootblock/update_descriptor.c
21 romstage-y += meminit.c
22 romstage-y += pcie_rp.c
32 ramstage-y += finalize.c
33 ramstage-y += fsp_params.c
34 ramstage-y += lockdown.c
37 ramstage-y += pcie_rp.c
40 ramstage-$(CONFIG_SOC_INTEL_ALDERLAKE_TCSS_USB4_SUPPORT) += retimer.c
41 ramstage-y += soundwire.c
42 ramstage-y += systemagent.c
44 ramstage-y += vr_config.c
46 ramstage-$(CONFIG_SOC_INTEL_CRASHLOG) += crashlog.c
55 ifeq ($(CONFIG_SOC_INTEL_ALDERLAKE_PCH_S),y)
56 bootblock-y += gpio_pch_s.c
57 romstage-y += gpio_pch_s.c
58 ramstage-y += gpio_pch_s.c
60 verstage-y += gpio_pch_s.c
69 CPPFLAGS_common += -I$(src)/soc/intel/alderlake
70 CPPFLAGS_common += -I$(src)/soc/intel/alderlake/include
72 ifeq ($(CONFIG_STITCH_ME_BIN),y)
74 $(eval $(call cse_add_dummy_to_bp1_bp2,DLMP))
75 $(eval $(call cse_add_dummy_to_bp1_bp2,IFPP))
76 $(eval $(call cse_add_dummy_to_bp1_bp2,SBDT))
77 $(eval $(call cse_add_decomp_to_bp1_bp2,RBEP))
78 $(eval $(call cse_add_dummy_to_bp1_bp2,UFSP))
79 $(eval $(call cse_add_dummy_to_bp1_bp2,UFSG))
80 $(eval $(call cse_add_input_to_bp1_bp2,OEMP))
81 $(eval $(call cse_add_input_to_bp1_bp2,PMCP))
82 $(eval $(call cse_add_decomp,bp1,MFTP))
83 $(eval $(call cse_add_decomp,bp2,FTPR))
84 $(eval $(call cse_add_input_to_bp1_bp2,IOMP))
85 $(eval $(call cse_add_input_to_bp1_bp2,NPHY))
86 $(eval $(call cse_add_input_to_bp1_bp2,TBTP))
87 $(eval $(call cse_add_input_to_bp1_bp2,PCHC))
88 $(eval $(call cse_add_decomp,bp2,NFTP))
89 $(eval $(call cse_add_dummy,bp2,ISHP))
90 $(eval $(call cse_add_input,bp2,IUNP))