Aamir Bohra | a23e0c9 | 2020-03-25 15:31:12 +0530 | [diff] [blame] | 1 | ifeq ($(CONFIG_SOC_INTEL_TIGERLAKE),y) |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 2 | |
| 3 | subdirs-y += romstage |
| 4 | subdirs-y += ../../../cpu/intel/microcode |
| 5 | subdirs-y += ../../../cpu/intel/turbo |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 6 | |
| 7 | # all (bootblock, verstage, romstage, postcar, ramstage) |
| 8 | all-y += gspi.c |
| 9 | all-y += i2c.c |
| 10 | all-y += pmutil.c |
| 11 | all-y += spi.c |
| 12 | all-y += uart.c |
| 13 | |
| 14 | bootblock-y += bootblock/bootblock.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 15 | bootblock-y += bootblock/pch.c |
| 16 | bootblock-y += bootblock/report_platform.c |
| 17 | bootblock-y += espi.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 18 | bootblock-y += p2sb.c |
| 19 | |
| 20 | romstage-y += espi.c |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 21 | romstage-y += meminit.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 22 | romstage-y += reset.c |
| 23 | |
| 24 | ramstage-y += acpi.c |
| 25 | ramstage-y += chip.c |
| 26 | ramstage-y += cpu.c |
Tim Wawrzynczak | 7f7c388 | 2021-04-09 12:15:21 -0600 | [diff] [blame] | 27 | ramstage-y += dptf.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 28 | ramstage-y += elog.c |
| 29 | ramstage-y += espi.c |
| 30 | ramstage-y += finalize.c |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 31 | ramstage-y += fsp_params.c |
Tim Crawford | 1724b57 | 2021-09-21 21:50:49 -0600 | [diff] [blame] | 32 | ramstage-y += graphics.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 33 | ramstage-y += lockdown.c |
Tim Wawrzynczak | 90f9cbb | 2021-07-19 16:07:42 -0600 | [diff] [blame] | 34 | ramstage-y += lpm.c |
Tim Wawrzynczak | 59a621a | 2021-03-22 10:43:42 -0600 | [diff] [blame] | 35 | ramstage-y += me.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 36 | ramstage-y += p2sb.c |
Tim Wawrzynczak | 1ac0dc1 | 2021-12-02 16:19:14 -0700 | [diff] [blame] | 37 | ramstage-y += pcie_rp.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 38 | ramstage-y += pmc.c |
| 39 | ramstage-y += reset.c |
jzhao80 | 6c4edff | 2022-01-10 07:54:57 -0800 | [diff] [blame] | 40 | ramstage-y += retimer.c |
Duncan Laurie | 2d06550 | 2020-04-29 12:40:08 -0700 | [diff] [blame] | 41 | ramstage-y += soundwire.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 42 | ramstage-y += systemagent.c |
Karthikeyan Ramasubramanian | fa9e8f9 | 2020-11-04 22:22:46 -0700 | [diff] [blame] | 43 | ramstage-y += xhci.c |
Francois Toguo | 15cbc3b | 2021-01-26 10:27:49 -0800 | [diff] [blame] | 44 | ramstage-$(CONFIG_SOC_INTEL_CRASHLOG) += crashlog_lib.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 45 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 46 | smm-y += p2sb.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 47 | smm-y += pmutil.c |
| 48 | smm-y += smihandler.c |
| 49 | smm-y += uart.c |
Furquan Shaikh | 7c36dc1 | 2020-11-02 14:00:35 -0800 | [diff] [blame] | 50 | smm-y += elog.c |
Karthikeyan Ramasubramanian | fa9e8f9 | 2020-11-04 22:22:46 -0700 | [diff] [blame] | 51 | smm-y += xhci.c |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 52 | |
Jeremy Soller | 21d7c47 | 2021-08-12 10:49:58 -0600 | [diff] [blame] | 53 | ifeq ($(CONFIG_SOC_INTEL_TIGERLAKE_PCH_H),y) |
| 54 | bootblock-y += gpio_pch_h.c |
| 55 | romstage-y += gpio_pch_h.c |
| 56 | ramstage-y += gpio_pch_h.c |
| 57 | smm-y += gpio_pch_h.c |
| 58 | verstage-y += gpio_pch_h.c |
| 59 | else |
| 60 | bootblock-y += gpio.c |
| 61 | romstage-y += gpio.c |
| 62 | ramstage-y += gpio.c |
| 63 | smm-y += gpio.c |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 64 | verstage-y += gpio.c |
Jeremy Soller | 21d7c47 | 2021-08-12 10:49:58 -0600 | [diff] [blame] | 65 | endif |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 66 | |
| 67 | CPPFLAGS_common += -I$(src)/soc/intel/tigerlake |
| 68 | CPPFLAGS_common += -I$(src)/soc/intel/tigerlake/include |
| 69 | |
Tim Crawford | cd36347 | 2021-08-20 14:24:41 -0600 | [diff] [blame] | 70 | ifeq ($(CONFIG_SOC_INTEL_TIGERLAKE_PCH_H),y) |
| 71 | cpu_microcode_bins += 3rdparty/intel-microcode/intel-ucode/06-8d-01 |
| 72 | else |
Tim Crawford | ebf8a41 | 2021-08-06 16:17:28 -0600 | [diff] [blame] | 73 | cpu_microcode_bins += 3rdparty/intel-microcode/intel-ucode/06-8c-01 |
| 74 | cpu_microcode_bins += 3rdparty/intel-microcode/intel-ucode/06-8c-02 |
Tim Crawford | cd36347 | 2021-08-20 14:24:41 -0600 | [diff] [blame] | 75 | endif |
Tim Crawford | ebf8a41 | 2021-08-06 16:17:28 -0600 | [diff] [blame] | 76 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 77 | endif |