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