diff options
Diffstat (limited to 'src/soc/amd/sabrina/aoac.c')
-rw-r--r-- | src/soc/amd/sabrina/aoac.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/soc/amd/sabrina/aoac.c b/src/soc/amd/sabrina/aoac.c index 33b00b47aa..ab52544189 100644 --- a/src/soc/amd/sabrina/aoac.c +++ b/src/soc/amd/sabrina/aoac.c @@ -1,7 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -/* TODO: Check if this is still correct */ - #include <stdint.h> #include <amdblocks/acpimmio.h> #include <amdblocks/aoac.h> @@ -12,6 +10,9 @@ #define FCH_AOAC_UART_FOR_CONSOLE \ (CONFIG_UART_FOR_CONSOLE == 0 ? FCH_AOAC_DEV_UART0 \ : CONFIG_UART_FOR_CONSOLE == 1 ? FCH_AOAC_DEV_UART1 \ + : CONFIG_UART_FOR_CONSOLE == 2 ? FCH_AOAC_DEV_UART2 \ + : CONFIG_UART_FOR_CONSOLE == 3 ? FCH_AOAC_DEV_UART3 \ + : CONFIG_UART_FOR_CONSOLE == 4 ? FCH_AOAC_DEV_UART4 \ : -1) #if CONFIG(AMD_SOC_CONSOLE_UART) && FCH_AOAC_UART_FOR_CONSOLE == -1 # error Unsupported UART_FOR_CONSOLE chosen |