2019-06-18 03:29:48 +08:00
|
|
|
menu "SoC selection"
|
|
|
|
|
|
|
|
config SOC_SIFIVE
|
2019-11-21 11:20:57 +08:00
|
|
|
bool "SiFive SoCs"
|
2019-10-24 15:20:03 +08:00
|
|
|
select SERIAL_SIFIVE if TTY
|
|
|
|
select SERIAL_SIFIVE_CONSOLE if TTY
|
2019-11-21 11:20:57 +08:00
|
|
|
select CLK_SIFIVE
|
2020-12-09 17:49:13 +08:00
|
|
|
select CLK_SIFIVE_PRCI
|
2019-11-21 11:20:57 +08:00
|
|
|
select SIFIVE_PLIC
|
|
|
|
help
|
|
|
|
This enables support for SiFive SoC platform hardware.
|
2019-06-18 03:29:48 +08:00
|
|
|
|
2019-12-03 11:49:31 +08:00
|
|
|
config SOC_VIRT
|
2020-05-11 10:19:52 +08:00
|
|
|
bool "QEMU Virt Machine"
|
2020-08-17 20:42:50 +08:00
|
|
|
select CLINT_TIMER if RISCV_M_MODE
|
2020-05-11 10:19:52 +08:00
|
|
|
select POWER_RESET
|
|
|
|
select POWER_RESET_SYSCON
|
|
|
|
select POWER_RESET_SYSCON_POWEROFF
|
|
|
|
select GOLDFISH
|
|
|
|
select RTC_DRV_GOLDFISH if RTC_CLASS
|
|
|
|
select SIFIVE_PLIC
|
|
|
|
help
|
|
|
|
This enables support for QEMU Virt Machine.
|
2019-12-03 11:49:31 +08:00
|
|
|
|
2020-03-16 08:47:39 +08:00
|
|
|
config SOC_KENDRYTE
|
|
|
|
bool "Kendryte K210 SoC"
|
|
|
|
depends on !MMU
|
2020-08-17 20:42:50 +08:00
|
|
|
select CLINT_TIMER if RISCV_M_MODE
|
2020-03-16 08:47:40 +08:00
|
|
|
select SERIAL_SIFIVE if TTY
|
|
|
|
select SERIAL_SIFIVE_CONSOLE if TTY
|
|
|
|
select SIFIVE_PLIC
|
2020-03-16 08:47:39 +08:00
|
|
|
help
|
|
|
|
This enables support for Kendryte K210 SoC platform hardware.
|
|
|
|
|
2020-04-14 12:43:25 +08:00
|
|
|
config SOC_KENDRYTE_K210_DTB
|
|
|
|
def_bool y
|
|
|
|
depends on SOC_KENDRYTE_K210_DTB_BUILTIN
|
|
|
|
|
|
|
|
config SOC_KENDRYTE_K210_DTB_BUILTIN
|
|
|
|
bool "Builtin device tree for the Kendryte K210"
|
|
|
|
depends on SOC_KENDRYTE
|
|
|
|
default y
|
|
|
|
select OF
|
|
|
|
select BUILTIN_DTB
|
|
|
|
select SOC_KENDRYTE_K210_DTB
|
|
|
|
help
|
|
|
|
Builds a device tree for the Kendryte K210 into the Linux image.
|
|
|
|
This option should be selected if no bootloader is being used.
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2019-06-18 03:29:48 +08:00
|
|
|
endmenu
|