Subrata Banik | efc4009 | 2020-10-05 21:04:22 +0530 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Subrata Banik | 16e4106 | 2020-10-06 20:13:06 +0530 | [diff] [blame] | 3 | subdirs-y += spd |
| 4 | |
Subrata Banik | efc4009 | 2020-10-05 21:04:22 +0530 | [diff] [blame] | 5 | bootblock-y += bootblock.c |
| 6 | bootblock-$(CONFIG_CHROMEOS) += chromeos.c |
Varshit Pandya | af53ab3 | 2021-01-26 02:17:11 +0530 | [diff] [blame] | 7 | ifeq ($(CONFIG_SOC_INTEL_ALDERLAKE_PCH_M),y) |
| 8 | bootblock-y += early_gpio_m.c |
| 9 | ramstage-y += gpio_m.c |
Usha P | 112fde0 | 2021-12-07 06:56:42 +0530 | [diff] [blame] | 10 | else ifeq ($(CONFIG_SOC_INTEL_ALDERLAKE_PCH_N),y) |
| 11 | bootblock-y += early_gpio_n.c |
| 12 | ramstage-y += gpio_n.c |
Varshit Pandya | af53ab3 | 2021-01-26 02:17:11 +0530 | [diff] [blame] | 13 | else |
Subrata Banik | 0a61ece | 2020-11-07 13:01:49 +0530 | [diff] [blame] | 14 | bootblock-y += early_gpio.c |
Varshit Pandya | af53ab3 | 2021-01-26 02:17:11 +0530 | [diff] [blame] | 15 | ramstage-y += gpio.c |
| 16 | endif |
Subrata Banik | efc4009 | 2020-10-05 21:04:22 +0530 | [diff] [blame] | 17 | |
| 18 | verstage-$(CONFIG_CHROMEOS) += chromeos.c |
| 19 | |
| 20 | romstage-$(CONFIG_CHROMEOS) += chromeos.c |
Subrata Banik | 16e4106 | 2020-10-06 20:13:06 +0530 | [diff] [blame] | 21 | romstage-y += romstage_fsp_params.c |
| 22 | romstage-y += board_id.c |
Subrata Banik | 0a61ece | 2020-11-07 13:01:49 +0530 | [diff] [blame] | 23 | romstage-y += memory.c |
Subrata Banik | efc4009 | 2020-10-05 21:04:22 +0530 | [diff] [blame] | 24 | |
| 25 | ramstage-$(CONFIG_CHROMEOS) += chromeos.c |
Subrata Banik | 9b4f221 | 2020-10-10 15:53:33 +0530 | [diff] [blame] | 26 | ramstage-y += ec.c |
| 27 | ramstage-y += mainboard.c |
| 28 | ramstage-y += board_id.c |
Anil Kumar | 881df06 | 2021-04-09 11:20:17 -0700 | [diff] [blame] | 29 | ramstage-$(CONFIG_FW_CONFIG) += fw_config.c |
Sumeet Pawnikar | 698ee27 | 2021-08-09 16:08:40 +0530 | [diff] [blame] | 30 | ramstage-y += ramstage.c |
Subrata Banik | efc4009 | 2020-10-05 21:04:22 +0530 | [diff] [blame] | 31 | |
Subrata Banik | 0a61ece | 2020-11-07 13:01:49 +0530 | [diff] [blame] | 32 | CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include |
Subrata Banik | efc4009 | 2020-10-05 21:04:22 +0530 | [diff] [blame] | 33 | |
| 34 | subdirs-y += variants/$(VARIANT_DIR) |