summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnDe Tan <ende.tan@starfivetech.com>2023-08-04 10:13:51 +0300
committerLey Foon Tan <leyfoon.tan@starfivetech.com>2023-12-04 06:00:16 +0300
commitc26ff90eca925e92374da6feb6f583581b92bd3c (patch)
tree5fa68c4fe93a8a9ec783ea5d276c16bb783b3267
parentf6aa9d03e22e2b47dfafef877c91abbbed9c7584 (diff)
downloadlinux-c26ff90eca925e92374da6feb6f583581b92bd3c.tar.xz
riscv: configs: dubhe: Add SBI console support
-rw-r--r--arch/riscv/configs/starfive_dubhe_defconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/configs/starfive_dubhe_defconfig b/arch/riscv/configs/starfive_dubhe_defconfig
index d5de1268861f..15428a69e1cb 100644
--- a/arch/riscv/configs/starfive_dubhe_defconfig
+++ b/arch/riscv/configs/starfive_dubhe_defconfig
@@ -22,6 +22,7 @@ CONFIG_SOC_STARFIVE_DUBHE=y
CONFIG_SMP=y
CONFIG_HOTPLUG_CPU=y
CONFIG_HZ_10=y
+CONFIG_RISCV_SBI_V01=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=y
CONFIG_JUMP_LABEL=y
@@ -98,6 +99,8 @@ CONFIG_INPUT_MOUSEDEV=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
+CONFIG_HVC_RISCV_SBI=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_VIRTIO=y