2018-11-25 17:40:57 +08:00
|
|
|
# Copyright (c) 2018 Foundries.io Ltd
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-07-18 01:17:05 +08:00
|
|
|
# The OpenISA RV32M1 SoC directory in riscv supports the RISC-V
|
2018-11-25 17:40:57 +08:00
|
|
|
# cores on OpenISA RV32M1 SoCs.
|
|
|
|
#
|
|
|
|
# The Zephyr "soc" abstraction isn't a great fit here. These SoCs (in
|
|
|
|
# the strict physical sense of "systems on chip") also contain Arm
|
|
|
|
# cores, so this type of "soc" doesn't really belong to a single "arch".
|
|
|
|
#
|
|
|
|
# However, due to constraints imposed by Zephyr's file hierarchy
|
|
|
|
# conventions, those "other" cores would need to be supported under a
|
2019-07-18 01:17:05 +08:00
|
|
|
# different soc subdirectory, e.g. soc/arm instead of soc/riscv.
|
2018-11-25 17:40:57 +08:00
|
|
|
|
|
|
|
if SOC_OPENISA_RV32M1_RISCV32
|
|
|
|
|
|
|
|
choice
|
2019-11-01 17:24:07 +08:00
|
|
|
prompt "OpenISA RV32M1 RISC-V Core Selection"
|
2018-11-25 17:40:57 +08:00
|
|
|
|
|
|
|
config SOC_OPENISA_RV32M1_RI5CY
|
|
|
|
bool "OpenISA RV32M1 RI5CY core"
|
|
|
|
|
|
|
|
config SOC_OPENISA_RV32M1_ZERO_RISCY
|
|
|
|
bool "OpenISA RV32M1 ZERO-RISCY core"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif # SOC_OPENISA_RV32M1_RISCV32
|