From 88da16b92d30b2be251a032cde34b086b2f473df Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 4 Dec 2023 18:46:38 +0100 Subject: [PATCH] soc/amd/genoa/Kconfig: add CONSOLE_UART_BASE_ADDRESS defaults Add defaults for the CONSOLE_UART_BASE_ADDRESS Kconfig symbol so that the SeaBIOS payload will know where the MMIO address of the UART is to build successfully without any additional user input during the build. Signed-off-by: Felix Held Change-Id: Ia05c3531cdbf3fd3e2e5f81b9d652f9dfef2111a Reviewed-on: https://review.coreboot.org/c/coreboot/+/79395 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) Reviewed-by: Varshit Pandya --- src/soc/amd/genoa/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/soc/amd/genoa/Kconfig b/src/soc/amd/genoa/Kconfig index a98e634a0d..2068c44fdc 100644 --- a/src/soc/amd/genoa/Kconfig +++ b/src/soc/amd/genoa/Kconfig @@ -163,6 +163,13 @@ config PSP_SOFTFUSE_BITS See #57299 (NDA) for additional bit definitions. endmenu +config CONSOLE_UART_BASE_ADDRESS + depends on CONSOLE_SERIAL && AMD_SOC_CONSOLE_UART + hex + default 0xfedc9000 if UART_FOR_CONSOLE = 0 + default 0xfedca000 if UART_FOR_CONSOLE = 1 + default 0xfedce000 if UART_FOR_CONSOLE = 2 + config SMM_TSEG_SIZE hex default 0x800000