Felix Held | 870e44a | 2020-11-23 15:58:09 +0100 | [diff] [blame] | 1 | ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_LPC),y) |
Marshall Dawson | 6ab5ed3 | 2019-05-29 09:24:18 -0600 | [diff] [blame] | 2 | |
Felix Held | 870e44a | 2020-11-23 15:58:09 +0100 | [diff] [blame] | 3 | ramstage-y += lpc.c |
Furquan Shaikh | f318e03 | 2020-05-04 23:38:53 -0700 | [diff] [blame] | 4 | |
Felix Held | 870e44a | 2020-11-23 15:58:09 +0100 | [diff] [blame] | 5 | bootblock-y += lpc_util.c |
Kyösti Mälkki | 79d0ea4 | 2020-07-09 19:07:19 +0300 | [diff] [blame] | 6 | verstage_x86-y += lpc_util.c |
Felix Held | 870e44a | 2020-11-23 15:58:09 +0100 | [diff] [blame] | 7 | romstage-y += lpc_util.c |
| 8 | postcar-y += lpc_util.c |
| 9 | ramstage-y += lpc_util.c |
| 10 | smm-y += lpc_util.c |
| 11 | |
| 12 | endif # CONFIG_SOC_AMD_COMMON_BLOCK_LPC |
| 13 | |
Raul E Rangel | 3ba2180 | 2021-06-24 17:03:35 -0600 | [diff] [blame] | 14 | ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA),y) |
| 15 | bootblock-y += spi_dma.c |
Felix Held | 4690b03 | 2021-10-22 04:07:17 +0200 | [diff] [blame] | 16 | verstage_x86-y += spi_dma.c |
Raul E Rangel | 3ba2180 | 2021-06-24 17:03:35 -0600 | [diff] [blame] | 17 | romstage-y += spi_dma.c |
| 18 | ramstage-y += spi_dma.c |
| 19 | smm-y += spi_dma.c |
| 20 | endif # CONFIG_SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA |
| 21 | |
Felix Held | 4cf6605 | 2021-10-13 22:14:23 +0200 | [diff] [blame] | 22 | all-$(CONFIG_SOC_AMD_COMMON_BLOCK_USE_ESPI) += espi_util.c |