# Copyright (c) 2021-2022 Amlogic, Inc. All rights reserved.

# SPDX-License-Identifier: MIT

menu "RISCV Options"

config RISCV
	bool "RISC-V architecture"
	help
	  RISC-V architecture flag.

config NUM_CORES
	int "cores number"
	default 1
	help
	  CPU core numbers.
	  2 or more means to enable SMP support.

config VERSION_FULL_INFO
	bool "Version full information"
	help
	  Select print full version information.

config AOCPU_ALIVE_DETECTION
	bool "AOCPU alive detection mechanism"
	help
	  Record AOCPU tickcount to register.

config AOCPU_BUSRESPERR_DETECTION
	bool "AOCPU bus response error detection mechanism"
	help
	  Generate irq and show error pc and address.

config AOCPU_BUSRESPERR_WARNING
	bool "AOCPU bus response error warning report"
	help
	  Report warning when AOCPU bus error detected.

config AOCPU_PSO
	bool "AOCPU power shut off"
	help
	  Enable AOCPU FSM power on/off.

config RISCV_CACHE
	bool "RISCV Cache support"
	help
	  Enable Cache on/off.

config RISCV_PMA
	bool "RISCV PMA support"
	help
	  Enable PMA or not.

config RISCV_HW_STACK
	bool "RISCV HW Stack support"
	help
	  Enable HW Stack enable/disable.

menu "Toolchain Options"
	rsource "toolchain/Kconfig"
endmenu

endmenu
