]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/riscv/Kconfig.socs
x86: Move TS_COMPAT back to asm/thread_info.h
[mirror_ubuntu-hirsute-kernel.git] / arch / riscv / Kconfig.socs
CommitLineData
0cbb8a32
LO
1menu "SoC selection"
2
3config SOC_SIFIVE
de29fe30 4 bool "SiFive SoCs"
bc3e8f5d
KW
5 select SERIAL_SIFIVE if TTY
6 select SERIAL_SIFIVE_CONSOLE if TTY
de29fe30 7 select CLK_SIFIVE
28108fc8 8 select CLK_SIFIVE_PRCI
de29fe30 9 select SIFIVE_PLIC
363fea06 10 select CPU_SIFIVE
de29fe30
KK
11 help
12 This enables support for SiFive SoC platform hardware.
0cbb8a32 13
759bdc16 14config SOC_VIRT
ab7fbad0 15 bool "QEMU Virt Machine"
2bc3fc87 16 select CLINT_TIMER if RISCV_M_MODE
ab7fbad0
KW
17 select POWER_RESET
18 select POWER_RESET_SYSCON
19 select POWER_RESET_SYSCON_POWEROFF
20 select GOLDFISH
21 select RTC_DRV_GOLDFISH if RTC_CLASS
22 select SIFIVE_PLIC
23 help
24 This enables support for QEMU Virt Machine.
759bdc16 25
c48c4a4c
CH
26config SOC_KENDRYTE
27 bool "Kendryte K210 SoC"
28 depends on !MMU
2bc3fc87 29 select CLINT_TIMER if RISCV_M_MODE
8759a42b
DLM
30 select SERIAL_SIFIVE if TTY
31 select SERIAL_SIFIVE_CONSOLE if TTY
32 select SIFIVE_PLIC
c48c4a4c
CH
33 help
34 This enables support for Kendryte K210 SoC platform hardware.
35
8bb66174
PD
36config SOC_KENDRYTE_K210_DTB
37 def_bool y
38 depends on SOC_KENDRYTE_K210_DTB_BUILTIN
39
40config SOC_KENDRYTE_K210_DTB_BUILTIN
41 bool "Builtin device tree for the Kendryte K210"
42 depends on SOC_KENDRYTE
43 default y
44 select OF
45 select BUILTIN_DTB
46 select SOC_KENDRYTE_K210_DTB
47 help
48 Builds a device tree for the Kendryte K210 into the Linux image.
49 This option should be selected if no bootloader is being used.
50 If unsure, say Y.
51
0cbb8a32 52endmenu