2015-05-21 00:40:39 +08:00
|
|
|
# Kconfig - ARM architecture configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# 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
|
2015-05-21 00:40:39 +08:00
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2015-05-21 00:40:39 +08:00
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# 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.
|
2015-05-21 00:40:39 +08:00
|
|
|
#
|
2015-08-24 01:08:06 +08:00
|
|
|
|
2015-05-21 00:40:39 +08:00
|
|
|
|
2015-10-09 18:20:52 +08:00
|
|
|
menu "ARM architecture"
|
|
|
|
depends on ARM
|
|
|
|
|
|
|
|
config ARCH
|
|
|
|
default "arm"
|
2015-05-26 22:38:04 +08:00
|
|
|
|
2015-10-09 18:20:52 +08:00
|
|
|
config ARCH_DEFCONFIG
|
|
|
|
string
|
|
|
|
default "arch/arm/defconfig"
|
2015-05-26 22:38:04 +08:00
|
|
|
|
2015-07-28 22:05:39 +08:00
|
|
|
menu "General Platform Configuration"
|
|
|
|
|
|
|
|
choice
|
2015-12-17 21:54:35 +08:00
|
|
|
prompt "SoC Selection"
|
|
|
|
default SOC_FSL_FRDM_K64F
|
|
|
|
source "arch/arm/soc/*/Kconfig.soc"
|
2015-07-28 22:05:39 +08:00
|
|
|
endchoice
|
2015-03-13 06:15:28 +08:00
|
|
|
|
2015-10-23 06:33:39 +08:00
|
|
|
config IS_BOOTLOADER
|
|
|
|
bool "Act as a bootloader"
|
|
|
|
default n
|
|
|
|
depends on XIP
|
|
|
|
help
|
|
|
|
This option indicates that Zephyr will act as a bootloader to execute
|
|
|
|
a separate Zephyr image payload.
|
|
|
|
|
|
|
|
config BOOTLOADER_SRAM_SIZE
|
|
|
|
int "SRAM reserved for when Zephyr acts as a bootloader"
|
|
|
|
default 16
|
|
|
|
depends on !XIP || IS_BOOTLOADER
|
|
|
|
help
|
|
|
|
This option specifies the amount of SRAM (measure in kB) reserved for
|
|
|
|
when Zephyr is to act as a bootloader.
|
2015-03-13 06:15:28 +08:00
|
|
|
|
|
|
|
config ISA_THUMB2
|
2015-07-28 22:05:39 +08:00
|
|
|
bool
|
|
|
|
# Omit prompt to signify "hidden" option
|
|
|
|
default n
|
2015-03-13 06:15:28 +08:00
|
|
|
help
|
|
|
|
From: http://www.arm.com/products/processors/technologies/instruction-set-architectures.php
|
|
|
|
|
|
|
|
Thumb-2 technology is the instruction set underlying the ARM Cortex
|
|
|
|
architecture which provides enhanced levels of performance, energy
|
|
|
|
efficiency, and code density for a wide range of embedded
|
|
|
|
applications.
|
|
|
|
|
|
|
|
Thumb-2 technology builds on the success of Thumb, the innovative
|
|
|
|
high code density instruction set for ARM microprocessor cores, to
|
|
|
|
increase the power of the ARM microprocessor core available to
|
|
|
|
developers of low cost, high performance systems.
|
|
|
|
|
|
|
|
The technology is backwards compatible with existing ARM and Thumb
|
|
|
|
solutions, while significantly extending the features available to
|
|
|
|
the Thumb instructions set. This allows more of the application to
|
|
|
|
benefit from the best in class code density of Thumb.
|
|
|
|
|
|
|
|
For performance optimised code Thumb-2 technology uses 31 percent
|
|
|
|
less memory to reduce system cost, while providing up to 38 percent
|
|
|
|
higher performance than existing high density code, which can be used
|
|
|
|
to prolong battery-life or to enrich the product feature set. Thumb-2
|
|
|
|
technology is featured in the processor, and in all ARMv7
|
|
|
|
architecture-based processors.
|
2015-07-06 22:24:34 +08:00
|
|
|
|
2015-07-28 22:05:39 +08:00
|
|
|
source "arch/arm/core/Kconfig"
|
2015-07-06 22:24:34 +08:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2015-12-17 21:54:35 +08:00
|
|
|
source "arch/arm/soc/*/Kconfig"
|
2015-05-26 22:38:04 +08:00
|
|
|
|
2015-10-09 18:20:52 +08:00
|
|
|
endmenu
|