Kconfig.socs (10205618052908770451acd33eaeaa7685e97ed2) Kconfig.socs (08734e0581a54df77f1af354b93b02ac581e4fbb)
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_PRCI

--- 8 unchanged lines hidden (view full) ---

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
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_PRCI

--- 8 unchanged lines hidden (view full) ---

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"
25config SOC_CANAAN
26 bool "Canaan Kendryte K210 SoC"
27 depends on !MMU
28 select CLINT_TIMER if RISCV_M_MODE
29 select SERIAL_SIFIVE if TTY
30 select SERIAL_SIFIVE_CONSOLE if TTY
31 select SIFIVE_PLIC
32 help
27 depends on !MMU
28 select CLINT_TIMER if RISCV_M_MODE
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.
33 This enables support for Canaan Kendryte K210 SoC platform hardware.
34
34
35config SOC_KENDRYTE_K210_DTB
36 def_bool y
37 depends on SOC_KENDRYTE_K210_DTB_BUILTIN
35if SOC_CANAAN
38
36
39config SOC_KENDRYTE_K210_DTB_BUILTIN
40 bool "Builtin device tree for the Kendryte K210"
41 depends on SOC_KENDRYTE
37config SOC_CANAAN_K210_DTB_BUILTIN
38 bool "Builtin device tree for the Canaan Kendryte K210"
39 depends on SOC_CANAAN
42 default y
43 select OF
44 select BUILTIN_DTB
40 default y
41 select OF
42 select BUILTIN_DTB
45 select SOC_KENDRYTE_K210_DTB
46 help
43 help
47 Builds a device tree for the Kendryte K210 into the Linux image.
44 Build 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
45 This option should be selected if no bootloader is being used.
46 If unsure, say Y.
47
48config SOC_CANAAN_K210_DTB_SOURCE
49 string "Source file for the Canaan Kendryte K210 builtin DTB"
50 depends on SOC_CANAAN
51 depends on SOC_CANAAN_K210_DTB_BUILTIN
52 default "k210"
53 help
54 Base name (without suffix, relative to arch/riscv/boot/dts/canaan)
55 for the DTS file that will be used to produce the DTB linked into the
56 kernel.
57
58endif
59
51endmenu
60endmenu