1 ## SPDX-License-Identifier: GPL-2.0-only
2 ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_UART
),y
)
5 smm-
$(CONFIG_DEBUG_SMI
) += uart.c
7 all-
$(CONFIG_AMD_SOC_CONSOLE_UART
) += uart_console.c
9 ifeq ($(CONFIG_DEBUG_SMI
),y
)
10 smm-
$(CONFIG_AMD_SOC_CONSOLE_UART
) += uart_console.c
13 endif # CONFIG_SOC_AMD_COMMON_BLOCK_UART