mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
ARMv7-R: add new Kconfig entries for d/i-cache
Unlike in ARMv7-A/M, Kconfig entries for data and instruction caches are currently missing in ARMv7-R. This commit adds those missing Kconfig entries. Actual implmenetation for those functions will be added in the subsequent patches. Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
This commit is contained in:
@@ -19,6 +19,29 @@ config ARMV7R_MEMINIT
|
||||
the memory initialization first, then explicitly call
|
||||
arm_data_initialize().
|
||||
|
||||
config ARMV7R_HAVE_ICACHE
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARMV7R_HAVE_DCACHE
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARMV7R_ICACHE
|
||||
bool "Use I-Cache"
|
||||
default n
|
||||
depends on ARMV7R_HAVE_ICACHE
|
||||
|
||||
config ARMV7R_DCACHE
|
||||
bool "Use D-Cache"
|
||||
default n
|
||||
depends on ARMV7R_HAVE_DCACHE
|
||||
|
||||
config ARMV7R_DCACHE_WRITETHROUGH
|
||||
bool "D-Cache Write-Through"
|
||||
default n
|
||||
depends on ARMV7R_DCACHE
|
||||
|
||||
config ARMV7R_HAVE_L2CC
|
||||
bool
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user