2019-06-17 12:29:48 -07:00
|
|
|
menu "SoC selection"
|
|
|
|
|
2022-11-20 13:59:41 -07:00
|
|
|
config ARCH_MICROCHIP_POLARFIRE
|
2024-03-05 12:20:28 -07:00
|
|
|
def_bool ARCH_MICROCHIP
|
2022-11-20 13:59:41 -07:00
|
|
|
|
2024-03-05 12:20:28 -07:00
|
|
|
config ARCH_MICROCHIP
|
|
|
|
bool "Microchip SoCs"
|
2021-03-03 13:02:49 -07:00
|
|
|
help
|
2024-03-05 12:20:28 -07:00
|
|
|
This enables support for Microchip SoC platforms.
|
2021-03-03 13:02:49 -07:00
|
|
|
|
2022-10-28 09:59:17 -07:00
|
|
|
config ARCH_RENESAS
|
|
|
|
bool "Renesas RISC-V SoCs"
|
|
|
|
help
|
|
|
|
This enables support for the RISC-V based Renesas SoCs.
|
|
|
|
|
2022-11-20 13:59:41 -07:00
|
|
|
config ARCH_SIFIVE
|
2019-11-20 20:20:57 -07:00
|
|
|
bool "SiFive SoCs"
|
2022-02-10 09:49:43 -07:00
|
|
|
select ERRATA_SIFIVE if !XIP_KERNEL
|
2019-11-20 20:20:57 -07:00
|
|
|
help
|
|
|
|
This enables support for SiFive SoC platform hardware.
|
2019-06-17 12:29:48 -07:00
|
|
|
|
2023-10-04 08:38:39 -07:00
|
|
|
config ARCH_SOPHGO
|
|
|
|
bool "Sophgo SoCs"
|
|
|
|
help
|
|
|
|
This enables support for Sophgo SoC platform hardware.
|
|
|
|
|
2022-11-20 13:59:41 -07:00
|
|
|
config ARCH_STARFIVE
|
|
|
|
def_bool SOC_STARFIVE
|
|
|
|
|
2021-10-10 07:10:32 -07:00
|
|
|
config SOC_STARFIVE
|
|
|
|
bool "StarFive SoCs"
|
|
|
|
select PINCTRL
|
|
|
|
select RESET_CONTROLLER
|
2023-05-24 23:18:36 -07:00
|
|
|
select ARM_AMBA
|
2021-10-10 07:10:32 -07:00
|
|
|
help
|
|
|
|
This enables support for StarFive SoC platform hardware.
|
|
|
|
|
2023-01-25 21:57:37 -07:00
|
|
|
config ARCH_SUNXI
|
|
|
|
bool "Allwinner sun20i SoCs"
|
|
|
|
depends on MMU && !XIP_KERNEL
|
|
|
|
select ERRATA_THEAD
|
|
|
|
select SUN4I_TIMER
|
|
|
|
help
|
|
|
|
This enables support for Allwinner sun20i platform hardware,
|
|
|
|
including boards based on the D1 and D1s SoCs.
|
|
|
|
|
2023-06-17 09:15:25 -07:00
|
|
|
config ARCH_THEAD
|
|
|
|
bool "T-HEAD RISC-V SoCs"
|
2023-06-28 00:12:30 -07:00
|
|
|
depends on MMU && !XIP_KERNEL
|
2023-06-17 09:15:25 -07:00
|
|
|
select ERRATA_THEAD
|
|
|
|
help
|
|
|
|
This enables support for the RISC-V based T-HEAD SoCs.
|
|
|
|
|
2022-11-20 13:59:41 -07:00
|
|
|
config ARCH_VIRT
|
2020-05-10 19:19:52 -07:00
|
|
|
bool "QEMU Virt Machine"
|
2020-08-17 05:42:50 -07:00
|
|
|
select CLINT_TIMER if RISCV_M_MODE
|
2020-05-10 19:19:52 -07:00
|
|
|
select POWER_RESET
|
|
|
|
select POWER_RESET_SYSCON
|
|
|
|
select POWER_RESET_SYSCON_POWEROFF
|
|
|
|
select GOLDFISH
|
|
|
|
select RTC_DRV_GOLDFISH if RTC_CLASS
|
2022-02-09 22:49:47 -07:00
|
|
|
select PM_GENERIC_DOMAINS if PM
|
|
|
|
select PM_GENERIC_DOMAINS_OF if PM && OF
|
2022-04-09 15:53:17 -07:00
|
|
|
select RISCV_SBI_CPUIDLE if CPU_IDLE && RISCV_SBI
|
2020-05-10 19:19:52 -07:00
|
|
|
help
|
|
|
|
This enables support for QEMU Virt Machine.
|
2019-12-02 20:49:31 -07:00
|
|
|
|
2022-11-20 13:59:41 -07:00
|
|
|
config ARCH_CANAAN
|
riscv: Kconfig.socs: Split ARCH_CANAAN and SOC_CANAAN_K210
Since SOC_FOO should be deprecated from patch [1], and cleanup for other
SoCs is already in the mailing list [2,3,4], we remove the use of
SOC_CANAAN and use ARCH_CANAAN for SoCs vendored by Canaan instead from now
on. And allows ARCH_CANAAN to be selected for other Canaan SoCs. However,
we should keep the config SOC_CANAAN and use def_bool to redirect the
symbol temporarily to avoid potential conflict.
Since we now have Canaan Kendryte K230 with MMU, ARCH_CANAAN is no longer
referred to as K210. There are some special features for K210, like M-Mode
No MMU and loader.bin in arch/riscv/Makefile. If we keep ARCH_CANAAN for
other Canaan SoCs and remove the K210, the depends on !MMU in Kconfig may
confuse some users who try to boot Kernel with MMU on K210, as Damien
mentioned in the list [5]. Thus, we introduce a new symbol SOC_CANAAN_K210
for any conditional code or driver selection specific to the K210, so users
will not try to build some K210-specific things when MMU is enabled and see
it fails to boot on K210.
[1] https://lore.kernel.org/linux-riscv/20221121221414.109965-1-conor@kernel.org/
[2] https://lore.kernel.org/linux-riscv/20240305-praying-clad-c4fbcaa7ed0a@spud/
[3] https://lore.kernel.org/linux-riscv/20240305-fled-undrilled-41dc0c46bb29@spud/
[4] https://lore.kernel.org/linux-riscv/20240305-stress-earflap-d7ddb8655a4d@spud/
[5] https://lore.kernel.org/linux-riscv/2b0511af-1b5b-4c90-a673-c9113bb58142@kernel.org/
Signed-off-by: Yangyu Chen <cyy@cyyself.name>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
2024-03-28 10:06:09 -07:00
|
|
|
bool "Canaan Kendryte SoC"
|
|
|
|
help
|
|
|
|
This enables support for Canaan Kendryte series SoC platform hardware.
|
2022-11-20 13:59:41 -07:00
|
|
|
|
riscv: Kconfig.socs: Split ARCH_CANAAN and SOC_CANAAN_K210
Since SOC_FOO should be deprecated from patch [1], and cleanup for other
SoCs is already in the mailing list [2,3,4], we remove the use of
SOC_CANAAN and use ARCH_CANAAN for SoCs vendored by Canaan instead from now
on. And allows ARCH_CANAAN to be selected for other Canaan SoCs. However,
we should keep the config SOC_CANAAN and use def_bool to redirect the
symbol temporarily to avoid potential conflict.
Since we now have Canaan Kendryte K230 with MMU, ARCH_CANAAN is no longer
referred to as K210. There are some special features for K210, like M-Mode
No MMU and loader.bin in arch/riscv/Makefile. If we keep ARCH_CANAAN for
other Canaan SoCs and remove the K210, the depends on !MMU in Kconfig may
confuse some users who try to boot Kernel with MMU on K210, as Damien
mentioned in the list [5]. Thus, we introduce a new symbol SOC_CANAAN_K210
for any conditional code or driver selection specific to the K210, so users
will not try to build some K210-specific things when MMU is enabled and see
it fails to boot on K210.
[1] https://lore.kernel.org/linux-riscv/20221121221414.109965-1-conor@kernel.org/
[2] https://lore.kernel.org/linux-riscv/20240305-praying-clad-c4fbcaa7ed0a@spud/
[3] https://lore.kernel.org/linux-riscv/20240305-fled-undrilled-41dc0c46bb29@spud/
[4] https://lore.kernel.org/linux-riscv/20240305-stress-earflap-d7ddb8655a4d@spud/
[5] https://lore.kernel.org/linux-riscv/2b0511af-1b5b-4c90-a673-c9113bb58142@kernel.org/
Signed-off-by: Yangyu Chen <cyy@cyyself.name>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
2024-03-28 10:06:09 -07:00
|
|
|
config SOC_CANAAN_K210
|
2020-12-13 06:50:38 -07:00
|
|
|
bool "Canaan Kendryte K210 SoC"
|
riscv: Kconfig.socs: Split ARCH_CANAAN and SOC_CANAAN_K210
Since SOC_FOO should be deprecated from patch [1], and cleanup for other
SoCs is already in the mailing list [2,3,4], we remove the use of
SOC_CANAAN and use ARCH_CANAAN for SoCs vendored by Canaan instead from now
on. And allows ARCH_CANAAN to be selected for other Canaan SoCs. However,
we should keep the config SOC_CANAAN and use def_bool to redirect the
symbol temporarily to avoid potential conflict.
Since we now have Canaan Kendryte K230 with MMU, ARCH_CANAAN is no longer
referred to as K210. There are some special features for K210, like M-Mode
No MMU and loader.bin in arch/riscv/Makefile. If we keep ARCH_CANAAN for
other Canaan SoCs and remove the K210, the depends on !MMU in Kconfig may
confuse some users who try to boot Kernel with MMU on K210, as Damien
mentioned in the list [5]. Thus, we introduce a new symbol SOC_CANAAN_K210
for any conditional code or driver selection specific to the K210, so users
will not try to build some K210-specific things when MMU is enabled and see
it fails to boot on K210.
[1] https://lore.kernel.org/linux-riscv/20221121221414.109965-1-conor@kernel.org/
[2] https://lore.kernel.org/linux-riscv/20240305-praying-clad-c4fbcaa7ed0a@spud/
[3] https://lore.kernel.org/linux-riscv/20240305-fled-undrilled-41dc0c46bb29@spud/
[4] https://lore.kernel.org/linux-riscv/20240305-stress-earflap-d7ddb8655a4d@spud/
[5] https://lore.kernel.org/linux-riscv/2b0511af-1b5b-4c90-a673-c9113bb58142@kernel.org/
Signed-off-by: Yangyu Chen <cyy@cyyself.name>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
2024-03-28 10:06:09 -07:00
|
|
|
depends on !MMU && ARCH_CANAAN
|
2020-08-17 05:42:50 -07:00
|
|
|
select CLINT_TIMER if RISCV_M_MODE
|
2020-12-13 06:50:47 -07:00
|
|
|
select ARCH_HAS_RESET_CONTROLLER
|
2021-01-11 17:58:40 -07:00
|
|
|
select PINCTRL
|
2021-03-11 03:24:24 -07:00
|
|
|
select COMMON_CLK
|
2020-03-15 17:47:39 -07:00
|
|
|
help
|
2020-12-13 06:50:38 -07:00
|
|
|
This enables support for Canaan Kendryte K210 SoC platform hardware.
|
2020-03-15 17:47:39 -07:00
|
|
|
|
2022-05-20 05:02:32 -07:00
|
|
|
endmenu # "SoC selection"
|