aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-09-23 01:35:26 +0200
committerLeo Yu-Chi Liang <ycliang@andestech.com>2023-10-04 17:59:49 +0800
commite637e455ca766d6b5bea5f4c5b9290ab07c87507 (patch)
treedcdabf0350b1013ada5510770e78c00ee59780f4 /arch/riscv/Kconfig
parentef5ccaae64b670bc3183e20378d1fa31c86c9f44 (diff)
downloadu-boot-e637e455ca766d6b5bea5f4c5b9290ab07c87507.zip
u-boot-e637e455ca766d6b5bea5f4c5b9290ab07c87507.tar.gz
u-boot-e637e455ca766d6b5bea5f4c5b9290ab07c87507.tar.bz2
riscv: enable CONFIG_DEBUG_UART by default
Most boards don't enable the pre-console buffer. So we will not see any early messages. OpenSBI 1.3 provides us with the debug console extension that can fill this gap. For S-Mode U-Boot enable CONFIG_DEBUG_UART by default. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 1c62c23..06fae7e 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -141,6 +141,7 @@ config RISCV_MMODE
config RISCV_SMODE
bool "Supervisor"
+ imply DEBUG_UART
help
Choose this option to build U-Boot for RISC-V S-Mode.