Kconfig.socs (9e8238020c5beba64e7ffafbb7ea0fb02fe68270) Kconfig.socs (2bc3fc877aa9c4c8b80cc49f66dfcb7e4857a128)
1menu "SoC selection"
2
3config SOC_SIFIVE
4 bool "SiFive SoCs"
5 select SERIAL_SIFIVE if TTY
6 select SERIAL_SIFIVE_CONSOLE if TTY
7 select CLK_SIFIVE
8 select CLK_SIFIVE_FU540_PRCI
9 select SIFIVE_PLIC
10 help
11 This enables support for SiFive SoC platform hardware.
12
13config SOC_VIRT
14 bool "QEMU Virt Machine"
1menu "SoC selection"
2
3config SOC_SIFIVE
4 bool "SiFive SoCs"
5 select SERIAL_SIFIVE if TTY
6 select SERIAL_SIFIVE_CONSOLE if TTY
7 select CLK_SIFIVE
8 select CLK_SIFIVE_FU540_PRCI
9 select SIFIVE_PLIC
10 help
11 This enables support for SiFive SoC platform hardware.
12
13config SOC_VIRT
14 bool "QEMU Virt Machine"
15 select CLINT_TIMER if RISCV_M_MODE
15 select POWER_RESET
16 select POWER_RESET_SYSCON
17 select POWER_RESET_SYSCON_POWEROFF
18 select GOLDFISH
19 select RTC_DRV_GOLDFISH if RTC_CLASS
20 select SIFIVE_PLIC
21 help
22 This enables support for QEMU Virt Machine.
23
24config SOC_KENDRYTE
25 bool "Kendryte K210 SoC"
26 depends on !MMU
16 select POWER_RESET
17 select POWER_RESET_SYSCON
18 select POWER_RESET_SYSCON_POWEROFF
19 select GOLDFISH
20 select RTC_DRV_GOLDFISH if RTC_CLASS
21 select SIFIVE_PLIC
22 help
23 This enables support for QEMU Virt Machine.
24
25config SOC_KENDRYTE
26 bool "Kendryte K210 SoC"
27 depends on !MMU
27 select BUILTIN_DTB
28 select CLINT_TIMER if RISCV_M_MODE
28 select SERIAL_SIFIVE if TTY
29 select SERIAL_SIFIVE_CONSOLE if TTY
30 select SIFIVE_PLIC
31 help
32 This enables support for Kendryte K210 SoC platform hardware.
33
29 select SERIAL_SIFIVE if TTY
30 select SERIAL_SIFIVE_CONSOLE if TTY
31 select SIFIVE_PLIC
32 help
33 This enables support for Kendryte K210 SoC platform hardware.
34
35config SOC_KENDRYTE_K210_DTB
36 def_bool y
37 depends on SOC_KENDRYTE_K210_DTB_BUILTIN
38
39config SOC_KENDRYTE_K210_DTB_BUILTIN
40 bool "Builtin device tree for the Kendryte K210"
41 depends on SOC_KENDRYTE
42 default y
43 select OF
44 select BUILTIN_DTB
45 select SOC_KENDRYTE_K210_DTB
46 help
47 Builds a device tree for the Kendryte K210 into the Linux image.
48 This option should be selected if no bootloader is being used.
49 If unsure, say Y.
50
34endmenu
51endmenu