85 lines
1.8 KiB
Plaintext
85 lines
1.8 KiB
Plaintext
#
|
|
# Copyright (c) 2016 Intel Corporation
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
choice
|
|
prompt "Nios II configuration selection"
|
|
depends on NIOS2
|
|
source "arch/nios2/soc/*/Kconfig.soc"
|
|
endchoice
|
|
|
|
menu "Nios II Options"
|
|
depends on NIOS2
|
|
|
|
config ARCH
|
|
string
|
|
default "nios2"
|
|
|
|
config ARCH_DEFCONFIG
|
|
string
|
|
default "arch/nios2/defconfig"
|
|
|
|
menu "Nios II Gen 2 Processor Options"
|
|
|
|
config CPU_NIOS2_GEN2
|
|
bool
|
|
default y
|
|
select ATOMIC_OPERATIONS_C
|
|
help
|
|
This option signifies the use of a Nios II Gen 2 CPU
|
|
|
|
endmenu
|
|
|
|
menu "Nios II Family Options"
|
|
|
|
config XIP
|
|
bool
|
|
default n
|
|
|
|
config IRQ_OFFLOAD
|
|
bool "Enable IRQ offload"
|
|
default n
|
|
help
|
|
Enable irq_offload() API which allows functions to be synchronously
|
|
run in interrupt context. Mainly useful for test cases.
|
|
|
|
config HAS_MUL_INSTRUCTION
|
|
bool
|
|
default n
|
|
|
|
config HAS_DIV_INSTRUCTION
|
|
bool
|
|
default n
|
|
|
|
config HAS_MULX_INSTRUCTION
|
|
bool
|
|
default n
|
|
|
|
config INCLUDE_RESET_VECTOR
|
|
bool "Include Reset vector"
|
|
default y
|
|
help
|
|
Include the reset vector stub, which enables instruction/data caches
|
|
and then jumps to __start. This code is typically located at the very
|
|
beginning of flash memory. You may need to omit this if using the
|
|
nios2-download tool since it refuses to load data anywhere other than
|
|
RAM.
|
|
|
|
endmenu
|
|
|
|
source "arch/nios2/soc/*/Kconfig"
|
|
|
|
endmenu
|