34 lines
720 B
Plaintext
34 lines
720 B
Plaintext
|
# Copyright (c) 2021 Telink Semiconductor
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
choice
|
||
|
prompt "CPU Architecture of SoC"
|
||
|
depends on SOC_SERIES_RISCV_TELINK_B91
|
||
|
|
||
|
config B91_CPU_RISCV32
|
||
|
bool "RISCV32 CPU Architecture"
|
||
|
|
||
|
endchoice
|
||
|
|
||
|
config TELINK_B91_HWDSP
|
||
|
bool "Support Hardware DSP"
|
||
|
select RISCV_SOC_CONTEXT_SAVE
|
||
|
depends on SOC_SERIES_RISCV_TELINK_B91
|
||
|
|
||
|
config TELINK_B91_PFT_ARCH
|
||
|
bool "Support performance throttling"
|
||
|
default y
|
||
|
select RISCV_SOC_CONTEXT_SAVE
|
||
|
depends on SOC_SERIES_RISCV_TELINK_B91
|
||
|
|
||
|
choice
|
||
|
prompt "Telink B91 SoC implementation"
|
||
|
depends on SOC_SERIES_RISCV_TELINK_B91
|
||
|
|
||
|
config SOC_RISCV_TELINK_B91
|
||
|
bool "Telink B91 SoC implementation"
|
||
|
select ATOMIC_OPERATIONS_BUILTIN
|
||
|
select CPU_HAS_FPU
|
||
|
|
||
|
endchoice
|