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