1 ## SPDX-License-Identifier: GPL-2.0-only
5 bootblock-y += bootblock.c
6 bootblock-$(CONFIG_CHROMEOS) += chromeos.c
7 ifeq ($(CONFIG_SOC_INTEL_ALDERLAKE_PCH_M),y)
8 bootblock-y += early_gpio_m.c
10 else ifeq ($(CONFIG_SOC_INTEL_ALDERLAKE_PCH_N),y)
11 bootblock-y += early_gpio_n.c
12 ramstage-y += gpio_n.c
14 bootblock-y += early_gpio.c
18 verstage-$(CONFIG_CHROMEOS) += chromeos.c
20 romstage-$(CONFIG_CHROMEOS) += chromeos.c
21 romstage-y += romstage_fsp_params.c
22 romstage-y += board_id.c
23 romstage-y += memory.c
24 ifeq ($(CONFIG_BOARD_INTEL_ADLRVP_RPL_EXT_EC),y)
25 romstage-y += memory_rpl.c
28 ramstage-$(CONFIG_CHROMEOS) += chromeos.c
30 ramstage-y += mainboard.c
31 ramstage-y += board_id.c
32 ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
33 ramstage-y += ramstage.c
35 CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
37 subdirs-y += variants/$(VARIANT_DIR)