1 ## SPDX-License-Identifier: GPL-2.0-only
2 ifeq ($(CONFIG_SOC_INTEL_CANNONLAKE_BASE
),y
)
5 subdirs-y
+= ..
/..
/..
/cpu
/intel
/microcode
6 subdirs-y
+= ..
/..
/..
/cpu
/intel
/turbo
7 subdirs-y
+= ..
/..
/..
/cpu
/intel
/common
9 bootblock-y
+= bootblock
/bootblock.c
10 bootblock-y
+= bootblock
/pch.c
11 bootblock-y
+= pmutil.c
12 bootblock-y
+= bootblock
/report_platform.c
20 romstage-y
+= cnl_memcfg_init.c
24 romstage-y
+= pmutil.c
33 ramstage-y
+= finalize.c
34 ramstage-y
+= fsp_params.c
35 ramstage-y
+= graphics.c
38 ramstage-y
+= lockdown.c
43 ramstage-y
+= pmutil.c
46 ramstage-y
+= systemagent.c
48 ramstage-y
+= vr_config.c
67 verstage-y
+= pmutil.c
71 ifeq ($(CONFIG_SOC_INTEL_CANNONLAKE_PCH_H
),y
)
72 bootblock-y
+= gpio_cnp_h.c
73 romstage-y
+= gpio_cnp_h.c
74 ramstage-y
+= gpio_cnp_h.c
76 verstage-y
+= gpio_cnp_h.c
85 bootblock-y
+= gpio_common.c
86 ramstage-y
+= gpio_common.c
88 romstage-
$(CONFIG_SOC_INTEL_COMETLAKE_1_2
) += cometlake_1_2.c
89 ramstage-
$(CONFIG_SOC_INTEL_COMETLAKE_1_2
) += cometlake_1_2.c
91 ifeq ($(CONFIG_SOC_INTEL_COFFEELAKE
),y
)
92 ifeq ($(CONFIG_SOC_INTEL_CANNONLAKE_PCH_H
),y
)
93 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-9e-0a
94 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-9e-0b
95 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-9e-0c
96 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-9e-0d
98 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-8e-0a
100 else ifeq ($(CONFIG_SOC_INTEL_WHISKEYLAKE
),y
)
101 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-8e-0b
102 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-8e-0c
103 else ifeq ($(CONFIG_SOC_INTEL_COMETLAKE
),y
)
104 ifeq ($(CONFIG_SOC_INTEL_CANNONLAKE_PCH_H
),y
)
105 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-a5-02
106 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-a5-03
107 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-a5-05
109 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-8e-0c
110 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-a6-00
111 cpu_microcode_bins
+= 3rdparty
/intel-microcode
/intel-ucode
/06-a6-01
115 CPPFLAGS_common
+= -I
$(src
)/soc
/intel
/cannonlake
116 CPPFLAGS_common
+= -I
$(src
)/soc
/intel
/cannonlake
/include
118 # DSP firmware settings files.
119 NHLT_BLOB_PATH
= 3rdparty
/blobs
/soc
/intel
/cnl
/nhlt-blobs
120 DMIC_1CH_48KHZ_16B
= dmic-1ch-48khz-16b.bin
121 DMIC_2CH_48KHZ_16B
= dmic-2ch-48khz-16b.bin
122 DMIC_4CH_48KHZ_16B
= dmic-4ch-48khz-16b.bin
123 MAX98357_RENDER
= max98357-render-2ch-48khz-24b.bin
124 DA7219_RENDER_CAPTURE
= dialog-2ch-48khz-24b.bin
125 MAX98373_RENDER_24B
= max98373-render-2ch-48khz-24b.bin
126 MAX98373_RENDER_16B
= max98373-render-2ch-48khz-16b.bin
128 cbfs-files-
$(CONFIG_NHLT_DMIC_1CH_16B
) += $(DMIC_1CH_48KHZ_16B
)
129 $(DMIC_1CH_48KHZ_16B
)-file
:= $(NHLT_BLOB_PATH
)/$(DMIC_1CH_48KHZ_16B
)
130 $(DMIC_1CH_48KHZ_16B
)-type
:= raw
132 cbfs-files-
$(CONFIG_NHLT_DMIC_2CH_16B
) += $(DMIC_2CH_48KHZ_16B
)
133 $(DMIC_2CH_48KHZ_16B
)-file
:= $(NHLT_BLOB_PATH
)/$(DMIC_2CH_48KHZ_16B
)
134 $(DMIC_2CH_48KHZ_16B
)-type
:= raw
136 cbfs-files-
$(CONFIG_NHLT_DMIC_4CH_16B
) += $(DMIC_4CH_48KHZ_16B
)
137 $(DMIC_4CH_48KHZ_16B
)-file
:= $(NHLT_BLOB_PATH
)/$(DMIC_4CH_48KHZ_16B
)
138 $(DMIC_4CH_48KHZ_16B
)-type
:= raw
140 cbfs-files-
$(CONFIG_NHLT_MAX98357
) += $(MAX98357_RENDER
)
141 $(MAX98357_RENDER
)-file
:= $(NHLT_BLOB_PATH
)/$(MAX98357_RENDER
)
142 $(MAX98357_RENDER
)-type
:= raw
144 cbfs-files-
$(CONFIG_NHLT_MAX98373
) += $(MAX98373_RENDER_16B
)
145 $(MAX98373_RENDER_16B
)-file
:= $(NHLT_BLOB_PATH
)/$(MAX98373_RENDER_16B
)
146 $(MAX98373_RENDER_16B
)-type
:= raw
148 cbfs-files-
$(CONFIG_NHLT_MAX98373
) += $(MAX98373_RENDER_24B
)
149 $(MAX98373_RENDER_24B
)-file
:= $(NHLT_BLOB_PATH
)/$(MAX98373_RENDER_24B
)
150 $(MAX98373_RENDER_24B
)-type
:= raw
152 cbfs-files-
$(CONFIG_NHLT_DA7219
) += $(DA7219_RENDER_CAPTURE
)
153 $(DA7219_RENDER_CAPTURE
)-file
:= $(NHLT_BLOB_PATH
)/$(DA7219_RENDER_CAPTURE
)
154 $(DA7219_RENDER_CAPTURE
)-type
:= raw