Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 1 | ifeq ($(CONFIG_SOC_INTEL_ALDERLAKE),y) |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 2 | subdirs-y += romstage |
| 3 | subdirs-y += ../../../cpu/intel/microcode |
| 4 | subdirs-y += ../../../cpu/intel/turbo |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 5 | |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 6 | # all (bootblock, verstage, romstage, postcar, ramstage) |
| 7 | all-y += gspi.c |
| 8 | all-y += i2c.c |
| 9 | all-y += pmutil.c |
| 10 | all-y += spi.c |
| 11 | all-y += uart.c |
| 12 | |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 13 | bootblock-y += bootblock/bootblock.c |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 14 | bootblock-y += bootblock/pch.c |
| 15 | bootblock-y += bootblock/report_platform.c |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 16 | bootblock-y += espi.c |
Subrata Banik | aab8bb2 | 2020-09-21 16:03:43 +0530 | [diff] [blame] | 17 | bootblock-y += gpio.c |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 18 | bootblock-y += p2sb.c |
Reka Norman | e790f92 | 2022-04-06 20:33:54 +1000 | [diff] [blame] | 19 | bootblock-$(CONFIG_ALDERLAKE_CONFIGURE_DESCRIPTOR) += bootblock/update_descriptor.c |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 20 | |
| 21 | romstage-y += espi.c |
Subrata Banik | aab8bb2 | 2020-09-21 16:03:43 +0530 | [diff] [blame] | 22 | romstage-y += gpio.c |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 23 | romstage-y += meminit.c |
Eric Lai | f8248f3 | 2020-12-31 11:43:29 +0800 | [diff] [blame] | 24 | romstage-y += pcie_rp.c |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 25 | romstage-y += reset.c |
Tim Wawrzynczak | b0d3a01 | 2021-12-02 16:19:29 -0700 | [diff] [blame] | 26 | romstage-y += cpu.c |
Subrata Banik | aab8bb2 | 2020-09-21 16:03:43 +0530 | [diff] [blame] | 27 | |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 28 | ramstage-y += acpi.c |
| 29 | ramstage-y += chip.c |
| 30 | ramstage-y += cpu.c |
Sumeet R Pawnikar | a2a90a3 | 2021-04-12 21:30:19 +0530 | [diff] [blame] | 31 | ramstage-y += dptf.c |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 32 | ramstage-y += elog.c |
| 33 | ramstage-y += espi.c |
| 34 | ramstage-y += finalize.c |
| 35 | ramstage-y += fsp_params.c |
Subrata Banik | aab8bb2 | 2020-09-21 16:03:43 +0530 | [diff] [blame] | 36 | ramstage-y += gpio.c |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 37 | ramstage-y += lockdown.c |
| 38 | ramstage-y += me.c |
| 39 | ramstage-y += p2sb.c |
Eric Lai | f8248f3 | 2020-12-31 11:43:29 +0800 | [diff] [blame] | 40 | ramstage-y += pcie_rp.c |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 41 | ramstage-y += pmc.c |
| 42 | ramstage-y += reset.c |
Michał Żygowski | 9df95d9 | 2022-04-08 17:02:35 +0200 | [diff] [blame] | 43 | ramstage-$(CONFIG_SOC_INTEL_ALDERLAKE_TCSS_USB4_SUPPORT) += retimer.c |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 44 | ramstage-y += soundwire.c |
| 45 | ramstage-y += systemagent.c |
John | 848b425 | 2022-03-09 17:51:56 -0800 | [diff] [blame] | 46 | ramstage-y += tcss.c |
V Sowmya | c6d7166 | 2021-07-15 08:11:08 +0530 | [diff] [blame] | 47 | ramstage-y += vr_config.c |
Tim Wawrzynczak | 291b58f | 2020-11-10 10:25:04 -0700 | [diff] [blame] | 48 | ramstage-y += xhci.c |
Francois Toguo | cea4f92 | 2021-04-16 21:20:39 -0700 | [diff] [blame] | 49 | ramstage-$(CONFIG_SOC_INTEL_CRASHLOG) += crashlog.c |
Subrata Banik | aab8bb2 | 2020-09-21 16:03:43 +0530 | [diff] [blame] | 50 | |
Hsuan-ting Chen | 642508a | 2021-10-27 10:59:41 +0000 | [diff] [blame] | 51 | verstage-y += gpio.c |
| 52 | |
Sugnan Prabhu S | f040f75 | 2021-03-26 10:58:49 +0530 | [diff] [blame] | 53 | smm-y += elog.c |
Subrata Banik | aab8bb2 | 2020-09-21 16:03:43 +0530 | [diff] [blame] | 54 | smm-y += gpio.c |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 55 | smm-y += p2sb.c |
| 56 | smm-y += pmutil.c |
| 57 | smm-y += smihandler.c |
| 58 | smm-y += uart.c |
Sugnan Prabhu S | f040f75 | 2021-03-26 10:58:49 +0530 | [diff] [blame] | 59 | smm-y += xhci.c |
Subrata Banik | aab8bb2 | 2020-09-21 16:03:43 +0530 | [diff] [blame] | 60 | |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 61 | CPPFLAGS_common += -I$(src)/soc/intel/alderlake |
| 62 | CPPFLAGS_common += -I$(src)/soc/intel/alderlake/include |
Furquan Shaikh | f888c68 | 2021-10-05 21:37:33 -0700 | [diff] [blame] | 63 | |
| 64 | ifeq ($(CONFIG_STITCH_ME_BIN),y) |
| 65 | |
Bernardo Perez Priego | aba1c13 | 2021-10-20 21:13:29 -0700 | [diff] [blame] | 66 | $(eval $(call cse_add_dummy_to_bp1_bp2,DLMP)) |
| 67 | $(eval $(call cse_add_dummy_to_bp1_bp2,IFPP)) |
| 68 | $(eval $(call cse_add_dummy_to_bp1_bp2,SBDT)) |
| 69 | $(eval $(call cse_add_decomp_to_bp1_bp2,RBEP)) |
| 70 | $(eval $(call cse_add_dummy_to_bp1_bp2,UFSP)) |
| 71 | $(eval $(call cse_add_dummy_to_bp1_bp2,UFSG)) |
Ravindra N | 0709218 | 2021-12-06 10:11:51 +0530 | [diff] [blame] | 72 | $(eval $(call cse_add_input_to_bp1_bp2,OEMP)) |
Bernardo Perez Priego | aba1c13 | 2021-10-20 21:13:29 -0700 | [diff] [blame] | 73 | $(eval $(call cse_add_input_to_bp1_bp2,PMCP)) |
| 74 | $(eval $(call cse_add_decomp,bp1,MFTP)) |
| 75 | $(eval $(call cse_add_decomp,bp2,FTPR)) |
| 76 | $(eval $(call cse_add_input_to_bp1_bp2,IOMP)) |
| 77 | $(eval $(call cse_add_input_to_bp1_bp2,NPHY)) |
| 78 | $(eval $(call cse_add_input_to_bp1_bp2,TBTP)) |
| 79 | $(eval $(call cse_add_input_to_bp1_bp2,PCHC)) |
| 80 | $(eval $(call cse_add_decomp,bp2,NFTP)) |
| 81 | $(eval $(call cse_add_dummy,bp2,ISHP)) |
| 82 | $(eval $(call cse_add_input,bp2,IUNP)) |
Furquan Shaikh | f888c68 | 2021-10-05 21:37:33 -0700 | [diff] [blame] | 83 | |
| 84 | endif |
| 85 | |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 86 | endif |