2018-11-25 17:40:57 +08:00
|
|
|
# Copyright (c) 2018 Foundries.io Ltd
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config SOC_OPENISA_RV32M1_RISCV32
|
|
|
|
bool "OpenISA RV32M1 RISC-V cores"
|
|
|
|
depends on RISCV32
|
|
|
|
# The following depends is due to limitations in the linker script.
|
|
|
|
# It's not inherent to the chip itself.
|
|
|
|
depends on !CUSTOM_RODATA_LD && !CUSTOM_RWDATA_LD
|
|
|
|
# The following select is also due to limitations in the linker script.
|
|
|
|
# (We can't make it a 'depends on' without causing a dependency loop).
|
|
|
|
select XIP
|
|
|
|
select HAS_DTS
|
|
|
|
select ATOMIC_OPERATIONS_C
|
|
|
|
select VEGA_SDK_HAL
|
|
|
|
select RISCV_SOC_INTERRUPT_INIT
|
2018-11-08 02:13:52 +08:00
|
|
|
select CLOCK_CONTROL
|
2018-11-25 17:40:57 +08:00
|
|
|
help
|
|
|
|
Enable support for OpenISA RV32M1 RISC-V processors. Choose
|
|
|
|
this option to target the RI5CY or ZERO-RISCY core. This
|
|
|
|
option should not be used to target either Arm core.
|