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 | f008e0a | 2023-04-01 01:31:24 +0200 | [diff] [blame] | 6 | all_x86-y += lpc_util.c |
Felix Held | 870e44a | 2020-11-23 15:58:09 +0100 | [diff] [blame] | 7 | smm-y += lpc_util.c |
| 8 | |
| 9 | endif # CONFIG_SOC_AMD_COMMON_BLOCK_LPC |
| 10 | |
Raul E Rangel | 3ba2180 | 2021-06-24 17:03:35 -0600 | [diff] [blame] | 11 | ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA),y) |
Felix Held | f008e0a | 2023-04-01 01:31:24 +0200 | [diff] [blame] | 12 | all_x86-y += spi_dma.c |
Raul E Rangel | 3ba2180 | 2021-06-24 17:03:35 -0600 | [diff] [blame] | 13 | smm-y += spi_dma.c |
| 14 | endif # CONFIG_SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA |
| 15 | |
Felix Held | 4cf6605 | 2021-10-13 22:14:23 +0200 | [diff] [blame] | 16 | all-$(CONFIG_SOC_AMD_COMMON_BLOCK_USE_ESPI) += espi_util.c |