ARMv7-A: L2CC PL310 address filtering is an optional feature

This commit is contained in:
Gregory Nutt 2014-07-25 19:46:09 -06:00
parent a007fa3f5e
commit fcbf89c6f6
2 changed files with 10 additions and 3 deletions

View File

@ -31,6 +31,10 @@ config PL310_LOCKDOWN_BY_LINE
bool "PL310 Lockdown by Line"
default n
config PL310_ADDRESS_FILTERING
bool "PL310 Address Filtering by Line"
default n
endif # ARMV7A_L2CC_PL310
choice

View File

@ -447,12 +447,15 @@
/* Address filter start */
#define L2CC_FLSTRT_ENABLE (1 << 0) /* Bit 0: Address filter enable */
#define L2CC_FLSTRT_MASK (0xfff00000) /* Bits 20-31: Bits 20-31 of address mask */
#ifdef PL310_ADDRESS_FILTERING
# define L2CC_FLSTRT_ENABLE (1 << 0) /* Bit 0: Address filter enable */
# define L2CC_FLSTRT_MASK (0xfff00000) /* Bits 20-31: Bits 20-31 of address mask */
/* Address filter end */
#define L2CC_FLEND_MASK (0xfff00000) /* Bits 20-31: Bits 20-31 of address mask */
#ifdef PL310_ADDRESS_FILTERING
# define L2CC_FLEND_MASK (0xfff00000) /* Bits 20-31: Bits 20-31 of address mask */
#endif
/* Debug Control Register */