2015-05-21 00:40:39 +08:00
|
|
|
# Kconfig - ARM architecture configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions are met:
|
|
|
|
#
|
|
|
|
# 1) Redistributions of source code must retain the above copyright notice,
|
|
|
|
# this list of conditions and the following disclaimer.
|
|
|
|
#
|
|
|
|
# 2) Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
# this list of conditions and the following disclaimer in the documentation
|
|
|
|
# and/or other materials provided with the distribution.
|
|
|
|
#
|
|
|
|
# 3) Neither the name of Wind River Systems nor the names of its contributors
|
|
|
|
# may be used to endorse or promote products derived from this software without
|
|
|
|
# specific prior written permission.
|
|
|
|
#
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
|
|
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
# POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
#
|
|
|
|
|
2015-05-26 22:38:04 +08:00
|
|
|
source "kernel/Kconfig"
|
|
|
|
|
|
|
|
source "misc/Kconfig"
|
|
|
|
|
2015-03-13 06:15:28 +08:00
|
|
|
menu "ARM family options"
|
|
|
|
|
|
|
|
config ARM
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This option signifies the use of an ARM system.
|
|
|
|
|
|
|
|
config ISA_THUMB2
|
|
|
|
bool "Thumb-2 Technology"
|
|
|
|
default y
|
|
|
|
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.
|
|
|
|
endmenu
|
|
|
|
|
2015-07-06 23:09:47 +08:00
|
|
|
menu "Platform General Configuration"
|
2015-07-06 22:24:34 +08:00
|
|
|
|
|
|
|
choice
|
2015-07-06 23:09:47 +08:00
|
|
|
prompt "Minimum Platform Configuation Selection"
|
|
|
|
default PLATFORM_FSL_FRDM_K64F
|
2015-07-06 22:24:34 +08:00
|
|
|
|
2015-07-06 23:09:47 +08:00
|
|
|
config PLATFORM_FSL_FRDM_K64F
|
2015-07-06 22:24:34 +08:00
|
|
|
bool "Minimum Configuration for FSL FRDM K64F"
|
|
|
|
select CPU_CORTEX_M4
|
|
|
|
select K20_UART
|
|
|
|
|
2015-07-06 23:09:47 +08:00
|
|
|
config PLATFORM_TI_LM3S6965
|
2015-07-06 22:24:34 +08:00
|
|
|
bool "Minimum Configuration for a TI LM3S6965"
|
|
|
|
select CPU_CORTEX_M3
|
|
|
|
select STELLARIS_UART
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
source "arch/arm/bsp/CortexM/Kconfig"
|
2015-03-13 06:15:28 +08:00
|
|
|
|
2015-07-06 23:09:47 +08:00
|
|
|
if PLATFORM_TI_LM3S6965
|
2015-07-17 03:16:56 +08:00
|
|
|
source "arch/arm/platforms/ti_lm3s6965/Kconfig"
|
2015-03-13 06:15:28 +08:00
|
|
|
endif
|
2015-05-26 22:38:04 +08:00
|
|
|
|
2015-07-06 23:09:47 +08:00
|
|
|
if PLATFORM_FSL_FRDM_K64F
|
2015-07-17 03:16:56 +08:00
|
|
|
source "arch/arm/platforms/fsl_frdm_k64f/Kconfig"
|
2015-03-13 06:15:28 +08:00
|
|
|
endif
|
2015-05-26 22:38:04 +08:00
|
|
|
|
|
|
|
source "drivers/Kconfig"
|
|
|
|
|
|
|
|
source "net/Kconfig"
|