1 ## SPDX-License-Identifier: GPL-2.0-only
2 ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_SPI
),y
)
4 bootblock-y
+= fch_spi_ctrl.c
5 romstage-y
+= fch_spi_ctrl.c
6 verstage-y
+= fch_spi_ctrl.c
7 postcar-y
+= fch_spi_ctrl.c
8 ramstage-y
+= fch_spi_ctrl.c
9 smm-
$(CONFIG_SPI_FLASH_SMM
) += fch_spi_ctrl.c
11 bootblock-y
+= fch_spi.c
12 romstage-y
+= fch_spi.c
13 postcar-y
+= fch_spi.c
14 ramstage-y
+= fch_spi.c
15 verstage-y
+= fch_spi.c
16 smm-
$(CONFIG_SPI_FLASH_SMM
) += fch_spi.c
18 bootblock-y
+= fch_spi_util.c
19 romstage-y
+= fch_spi_util.c
20 postcar-y
+= fch_spi_util.c
21 ramstage-y
+= fch_spi_util.c
22 verstage-y
+= fch_spi_util.c
23 smm-
$(CONFIG_SPI_FLASH_SMM
) += fch_spi_util.c
25 endif # CONFIG_SOC_AMD_COMMON_BLOCK_SPI