#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

if ARCH_OR1K
comment "OpenRISC Options"

choice
	prompt "OpenRISC chip selection"
	default ARCH_CHIP_MOR1KX

config ARCH_CHIP_MOR1KX
	bool "mor1kx"

config ARCH_CHIP_OR1K_CUSTOM
	bool "Custom OpenRISC chip"
	select ARCH_CHIP_CUSTOM
	---help---
		Select this option if there is no directory for the chip under arch/or1k/src/.

endchoice

config ARCH_CHIP
	string
	default "mor1kx"	if ARCH_CHIP_MOR1KX

source arch/or1k/src/mor1kx/Kconfig

endif # ARCH_OR1K