[PATCH u-boot v2019.04-aspeed-openbmc 2/4] arm/mach-aspeed: Add support for CONFIG_DRAM_UART_TO_UART1

Zev Weiss zweiss at equinix.com
Thu Apr 21 15:42:04 AEST 2022


On Wed, Apr 20, 2022 at 03:25:00AM PDT, Patrick Rudolph wrote:
>Update the Kconfig and allow a board to use CONFIG_DRAM_UART_TO_UART1.
>This is required on IBM/Genesis3 as it uses RDX1/TDX1 as debug uart.
>

Since I was a bit confused at first at seeing a new Kconfig symbol with
no accompanying code to implement its functionality (until I grepped
around a bit and saw why), it might be nice to note in the commit
message that the logic to support this already exists in the ast2500
platform code and just didn't have an accompanying Kconfig option until
now.

>Signed-off-by: Patrick Rudolph <patrick.rudolph at 9elements.com>
>---
> arch/arm/mach-aspeed/ast2500/Kconfig | 6 ++++++
> 1 file changed, 6 insertions(+)
>
>diff --git a/arch/arm/mach-aspeed/ast2500/Kconfig b/arch/arm/mach-aspeed/ast2500/Kconfig
>index 81c4fd0c2f..232117b43c 100644
>--- a/arch/arm/mach-aspeed/ast2500/Kconfig
>+++ b/arch/arm/mach-aspeed/ast2500/Kconfig
>@@ -27,6 +27,12 @@ config TARGET_IBM_GENESIS3
>
> endchoice
>
>+config DRAM_UART_TO_UART1
>+	bool
>+	prompt "Route debug UART to UART1"
>+	help
>+	  Route debug UART to TXD1/RXD1 pins.
>+
> source "board/aspeed/evb_ast2500/Kconfig"
> source "board/ibm/genesis3/Kconfig"
>
>-- 
>2.35.1
>


More information about the openbmc mailing list