Martin Roth | 9231f0b | 2022-10-28 22:39:23 -0600 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 2 | ifeq ($(CONFIG_SOC_INTEL_METEORLAKE),y) |
| 3 | |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 4 | subdirs-y += romstage |
| 5 | subdirs-y += ../../../cpu/intel/microcode |
| 6 | subdirs-y += ../../../cpu/intel/turbo |
| 7 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 8 | # all (bootblock, verstage, romstage, postcar, ramstage) |
| 9 | all-y += gspi.c |
| 10 | all-y += i2c.c |
| 11 | all-y += pmutil.c |
| 12 | all-y += spi.c |
| 13 | all-y += uart.c |
Ravi Sarawadi | 5a9dd75 | 2022-05-08 00:46:38 -0700 | [diff] [blame] | 14 | all-y += gpio.c |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 15 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 16 | bootblock-y += bootblock/bootblock.c |
| 17 | bootblock-y += bootblock/ioe_die.c |
| 18 | bootblock-y += bootblock/report_platform.c |
| 19 | bootblock-y += bootblock/soc_die.c |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 20 | bootblock-y += espi.c |
| 21 | bootblock-y += p2sb.c |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 22 | bootblock-y += soc_info.c |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 23 | |
Bora Guvendik | 34c37bb | 2023-03-13 14:27:30 -0700 | [diff] [blame] | 24 | romstage-$(CONFIG_SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY) += cse_telemetry.c |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 25 | romstage-y += espi.c |
| 26 | romstage-y += meminit.c |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 27 | romstage-y += pcie_rp.c |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 28 | romstage-y += reset.c |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 29 | romstage-y += soc_info.c |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 30 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 31 | ramstage-y += acpi.c |
| 32 | ramstage-y += chip.c |
| 33 | ramstage-y += cpu.c |
Pratikkumar Prajapati | 17e9490 | 2023-05-25 16:53:44 -0700 | [diff] [blame] | 34 | ramstage-$(CONFIG_SOC_INTEL_CRASHLOG) += crashlog.c |
Dinesh Gehlot | 095043f | 2023-08-18 10:04:53 +0530 | [diff] [blame] | 35 | ramstage-y += ioe_pmc.c |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 36 | ramstage-y += elog.c |
| 37 | ramstage-y += espi.c |
| 38 | ramstage-y += finalize.c |
| 39 | ramstage-y += fsp_params.c |
| 40 | ramstage-y += lockdown.c |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 41 | ramstage-y += p2sb.c |
| 42 | ramstage-y += pcie_rp.c |
| 43 | ramstage-y += pmc.c |
| 44 | ramstage-y += reset.c |
| 45 | ramstage-y += retimer.c |
| 46 | ramstage-y += soundwire.c |
| 47 | ramstage-y += systemagent.c |
| 48 | ramstage-y += tcss.c |
| 49 | ramstage-y += xhci.c |
| 50 | ramstage-y += soc_info.c |
Ravi Sarawadi | 5a9dd75 | 2022-05-08 00:46:38 -0700 | [diff] [blame] | 51 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 52 | smm-y += elog.c |
Ravi Sarawadi | 5a9dd75 | 2022-05-08 00:46:38 -0700 | [diff] [blame] | 53 | smm-y += gpio.c |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 54 | smm-y += p2sb.c |
| 55 | smm-y += pmutil.c |
| 56 | smm-y += smihandler.c |
| 57 | smm-y += soc_info.c |
| 58 | smm-y += uart.c |
| 59 | smm-y += xhci.c |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 60 | CPPFLAGS_common += -I$(src)/soc/intel/meteorlake |
| 61 | CPPFLAGS_common += -I$(src)/soc/intel/meteorlake/include |
| 62 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 63 | CFLAGS_common += -fshort-wchar |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 64 | endif |