2013-07-18 15:20:47 -06:00
|
|
|
#
|
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 08:08:57 -06:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2013-07-18 15:20:47 -06:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
comment "ARMv7-A Configuration Options"
|
|
|
|
|
|
2016-03-14 10:50:54 -06:00
|
|
|
config ARMV7A_HAVE_GICv2
|
2016-03-02 14:56:54 -06:00
|
|
|
bool
|
|
|
|
|
default n
|
|
|
|
|
---help---
|
|
|
|
|
Selected by the configuration tool if the architecture supports the
|
|
|
|
|
Generic Interrupt Controller (GIC)
|
|
|
|
|
|
2016-03-09 08:36:22 -06:00
|
|
|
config ARMV7A_HAVE_GTM
|
|
|
|
|
bool
|
|
|
|
|
default n
|
|
|
|
|
---help---
|
|
|
|
|
Selected by the configuration tool if the architecture supports the
|
|
|
|
|
Global Timer (GTM)
|
|
|
|
|
|
2016-03-09 12:16:44 -06:00
|
|
|
config ARMV7A_HAVE_PTM
|
|
|
|
|
bool
|
|
|
|
|
default n
|
|
|
|
|
---help---
|
|
|
|
|
Selected by the configuration tool if the architecture supports the
|
|
|
|
|
per-processor Private Timers (PTMs)
|
|
|
|
|
|
2014-07-26 16:50:08 -06:00
|
|
|
config ARMV7A_HAVE_L2CC
|
|
|
|
|
bool
|
|
|
|
|
default n
|
|
|
|
|
---help---
|
2016-03-02 14:56:54 -06:00
|
|
|
Selected by the configuration tool if the architecture supports any
|
2014-08-24 14:12:45 -06:00
|
|
|
kind of L2 cache.
|
2014-07-26 16:50:08 -06:00
|
|
|
|
2014-07-25 17:25:17 -06:00
|
|
|
config ARMV7A_HAVE_L2CC_PL310
|
|
|
|
|
bool
|
|
|
|
|
default n
|
2014-07-26 16:50:08 -06:00
|
|
|
select ARMV7A_HAVE_L2CC
|
|
|
|
|
---help---
|
|
|
|
|
Set by architecture-specific code if the hardware supports a PL310
|
|
|
|
|
r3p2 L2 cache (only version r3p2 is supported).
|
|
|
|
|
|
|
|
|
|
if ARMV7A_HAVE_L2CC
|
|
|
|
|
|
|
|
|
|
menu "L2 Cache Configuration"
|
|
|
|
|
|
2014-07-25 17:25:17 -06:00
|
|
|
config ARMV7A_L2CC_PL310
|
|
|
|
|
bool "ARMv7-A L2CC P310 Support"
|
|
|
|
|
default n
|
2014-07-26 18:48:54 -06:00
|
|
|
depends on ARMV7A_HAVE_L2CC_PL310 && EXPERIMENTAL
|
2014-07-27 10:03:33 -06:00
|
|
|
select ARCH_L2CACHE
|
2014-07-25 17:25:17 -06:00
|
|
|
---help---
|
|
|
|
|
Enable the 2 Cache Controller (L2CC) is based on the L2CC-PL310 ARM
|
|
|
|
|
multi-way cache macrocell, version r3p2. The addition of an on-chip
|
|
|
|
|
secondary cache, also referred to as a Level 2 or L2 cache, is a
|
|
|
|
|
method of improving the system performance when significant memory
|
|
|
|
|
traffic is generated by the processor.
|
|
|
|
|
|
2014-07-27 10:03:33 -06:00
|
|
|
if ARCH_L2CACHE
|
2014-07-25 19:41:35 -06:00
|
|
|
if ARMV7A_L2CC_PL310
|
|
|
|
|
|
|
|
|
|
config PL310_LOCKDOWN_BY_MASTER
|
|
|
|
|
bool "PL310 Lockdown by Master"
|
|
|
|
|
default n
|
|
|
|
|
|
|
|
|
|
config PL310_LOCKDOWN_BY_LINE
|
|
|
|
|
bool "PL310 Lockdown by Line"
|
|
|
|
|
default n
|
|
|
|
|
|
2014-07-25 19:46:09 -06:00
|
|
|
config PL310_ADDRESS_FILTERING
|
|
|
|
|
bool "PL310 Address Filtering by Line"
|
|
|
|
|
default n
|
|
|
|
|
|
2014-07-25 19:41:35 -06:00
|
|
|
endif # ARMV7A_L2CC_PL310
|
|
|
|
|
|
2014-07-26 16:50:08 -06:00
|
|
|
choice
|
|
|
|
|
prompt "L2 Cache Associativity"
|
|
|
|
|
default ARMV7A_ASSOCIATIVITY_8WAY
|
2014-07-27 10:03:33 -06:00
|
|
|
depends on ARCH_L2CACHE
|
2014-07-26 16:50:08 -06:00
|
|
|
---help---
|
|
|
|
|
This choice specifies the associativity of L2 cache in terms of the
|
|
|
|
|
number of ways. This value could be obtained by querying cache
|
|
|
|
|
configuration registers. However, by defining a configuration
|
|
|
|
|
setting instead, we can avoid using RAM memory to hold information
|
|
|
|
|
about properties of the memory.
|
|
|
|
|
|
|
|
|
|
config ARMV7A_ASSOCIATIVITY_8WAY
|
|
|
|
|
bool "8-Way Associativity"
|
|
|
|
|
|
|
|
|
|
config ARMV7A_ASSOCIATIVITY_16WAY
|
|
|
|
|
bool "16-Way Associativity"
|
|
|
|
|
|
|
|
|
|
endchoice # L2 Cache Associativity
|
|
|
|
|
|
|
|
|
|
choice
|
|
|
|
|
prompt "L2 Cache Way Size"
|
|
|
|
|
default ARMV7A_WAYSIZE_16KB
|
2014-07-27 10:03:33 -06:00
|
|
|
depends on ARCH_L2CACHE
|
2014-07-26 16:50:08 -06:00
|
|
|
---help---
|
|
|
|
|
This choice specifies size of each way. This value can be obtained
|
|
|
|
|
by querying cache configuration registers. However, by defining a
|
|
|
|
|
configuration setting instead, we can avoid using RAM memory to hold
|
|
|
|
|
information
|
|
|
|
|
|
|
|
|
|
config ARMV7A_WAYSIZE_16KB
|
|
|
|
|
bool "16 KiB"
|
|
|
|
|
|
|
|
|
|
config ARMV7A_WAYSIZE_32KB
|
|
|
|
|
bool "32 KiB"
|
|
|
|
|
|
|
|
|
|
config ARMV7A_WAYSIZE_64KB
|
|
|
|
|
bool "64 KiB"
|
|
|
|
|
|
|
|
|
|
config ARMV7A_WAYSIZE_128KB
|
|
|
|
|
bool "128 KiB"
|
|
|
|
|
|
|
|
|
|
config ARMV7A_WAYSIZE_256KB
|
|
|
|
|
bool "256 KiB"
|
|
|
|
|
|
|
|
|
|
config ARMV7A_WAYSIZE_512KB
|
|
|
|
|
bool "512 KiB"
|
|
|
|
|
|
|
|
|
|
endchoice # L2 Cache Associativity
|
2014-07-27 10:03:33 -06:00
|
|
|
endif # ARCH_L2CACHE
|
2014-07-26 16:50:08 -06:00
|
|
|
endmenu # L2 Cache Configuration
|
2014-07-27 10:03:33 -06:00
|
|
|
endif # ARMV7A_HAVE_L2CC
|
2014-07-26 16:50:08 -06:00
|
|
|
|
2014-06-20 15:22:00 -06:00
|
|
|
config ARMV7A_DECODEFIQ
|
|
|
|
|
bool "FIQ Handler"
|
|
|
|
|
default n
|
|
|
|
|
---help---
|
|
|
|
|
Select this option if your platform supports the function
|
|
|
|
|
arm_decodefiq(). This is used primarily to support secure TrustZone
|
|
|
|
|
interrupts received on the FIQ vector.
|