blob: 7323ed97f08171181d8febafe6b2e793583a0bc9 [file] [log] [blame]
Martin Rothf6ca89c2023-08-04 12:06:21 -06001## SPDX-License-Identifier: GPL-2.0-only
2
Aaron Durbin76c37002012-10-30 09:03:43 -05003ramstage-y += haswell_init.c
Angel Ponse751a102020-11-23 13:28:57 +01004
5romstage-y += romstage.c
Arthur Heymansfaa5f982018-06-04 19:34:59 +02006romstage-y += ../car/romstage.c
Aaron Durbin76c37002012-10-30 09:03:43 -05007
Vladimir Serbinenko822bc652014-01-03 15:55:40 +01008ramstage-y += acpi.c
Aaron Durbin29ffa542012-12-21 21:21:48 -06009ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c
Aaron Durbin76c37002012-10-30 09:03:43 -050010
Kyösti Mälkki9265f892019-07-07 23:58:34 +030011smm-y += finalize.c
Tristan Corrickba8ead82018-10-31 02:26:41 +130012
Arthur Heymans8e646e72018-06-05 11:19:22 +020013bootblock-y += ../car/non-evict/cache_as_ram.S
14bootblock-y += ../car/bootblock.c
15bootblock-y += ../../x86/early_reset.S
16bootblock-y += bootblock.c
17
Arthur Heymansdd4d8952018-06-03 12:04:26 +020018postcar-y += ../car/non-evict/exit_car.S
Matt DeVillier31769d92015-04-30 01:19:16 -050019
Matt DeVillier31769d92015-04-30 01:19:16 -050020subdirs-y += ../microcode
21subdirs-y += ../turbo
Alexandru Gagniuc1d857002015-09-09 22:38:06 -070022
Angel Pons1caa2792022-09-11 13:32:14 +020023ifeq ($(CONFIG_INTEL_LYNXPOINT_LP),y)
24# Haswell ULT/ULX
Arthur Heymansa4492902019-06-17 10:50:47 +020025cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-45-*)
Angel Ponsf542b7b2020-10-29 01:02:03 +010026ifeq ($(CONFIG_SOC_INTEL_BROADWELL),y)
Angel Pons1caa2792022-09-11 13:32:14 +020027# Broadwell ULT/ULX
Angel Pons082d8222022-09-11 17:48:24 +020028cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-3d-*)
Angel Ponsf542b7b2020-10-29 01:02:03 +010029endif
Angel Pons1caa2792022-09-11 13:32:14 +020030else
31# Haswell Trad
32cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-3c-*)
Angel Pons84d0fe52022-09-11 14:56:26 +020033# Crystal Well (Trad)
34cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-46-*)
Angel Pons16e3d6a2023-02-08 11:10:00 +010035# Broadwell Trad
36cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-47-*)
Angel Pons1caa2792022-09-11 13:32:14 +020037endif