1 ## SPDX-License-Identifier: GPL-2.0-only
2 ifeq ($(CONFIG_SOC_INTEL_ELKHARTLAKE
),y
)
5 subdirs-y
+= ..
/..
/..
/cpu
/intel
/microcode
6 subdirs-y
+= ..
/..
/..
/cpu
/intel
/turbo
8 # all (bootblock, verstage, romstage, postcar, ramstage)
15 bootblock-y
+= bootblock
/bootblock.c
16 bootblock-y
+= bootblock
/pch.c
17 bootblock-y
+= bootblock
/report_platform.c
24 romstage-y
+= meminit.c
25 romstage-y
+= pcie_rp.c
32 ramstage-y
+= finalize.c
33 ramstage-y
+= fsp_params.c
35 ramstage-y
+= lockdown.c
37 ramstage-y
+= pcie_rp.c
40 ramstage-y
+= systemagent.c
42 ramstage-
$(CONFIG_EHL_TSN_DRIVER
) += tsn_gbe.c
52 CPPFLAGS_common
+= -I
$(src
)/soc
/intel
/elkhartlake
53 CPPFLAGS_common
+= -I
$(src
)/soc
/intel
/elkhartlake
/include
56 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-96-01
57 cbfs-files-
$(CONFIG_ADD_PSE_IMAGE_TO_CBFS
) += pse.bin
58 pse.bin-file
:= $(CONFIG_PSE_IMAGE_FILE
)
60 pse.bin-compression
:= lzma
62 # Add a build time check if the PSE file size fits
63 ifeq ($(CONFIG_ADD_PSE_IMAGE_TO_CBFS
),y
)
65 $(call file-size
,$(CONFIG_PSE_IMAGE_FILE
))\
66 $(shell printf
"%d" $(call int-shift-left
, $(CONFIG_PSE_FW_FILE_SIZE_KIB
) 10))), 1)
67 $(error PSE binary larger than CONFIG_PSE_FW_FILE_SIZE_KIB.
)
69 endif # CONFIG_ADD_PSE_IMAGE_TO_CBFS