- Add cache on/off functions to Kconfig. ARC has already done it and this
should be the same for all platforms.
- Disable caches for noatf dc1/dc2 configurations
- Enable CMD_CACHE
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
config ZYNQMP_USB
bool "Configure ZynqMP USB"
+config SYS_DCACHE_OFF
+ bool "Do not use Data Cache"
+ default n
+
+config SYS_ICACHE_OFF
+ bool "Do not use Instruction Cache"
+ default n
+
endif
CONFIG_ARM=y
+CONFIG_SYS_ICACHE_OFF=y
+CONFIG_SYS_DCACHE_OFF=y
CONFIG_ARCH_ZYNQMP=y
CONFIG_TARGET_ZYNQMP_ZC1751_XM015_DC1=y
CONFIG_SECURE_IOU=y
CONFIG_ARM=y
+CONFIG_SYS_ICACHE_OFF=y
+CONFIG_SYS_DCACHE_OFF=y
CONFIG_ARCH_ZYNQMP=y
CONFIG_TARGET_ZYNQMP_ZC1751_XM016_DC2=y
CONFIG_SECURE_IOU=y
#define CONFIG_BOARD_EARLY_INIT_R
#define CONFIG_CLOCKS
+#define CONFIG_CMD_CACHE
+
#endif /* __XILINX_ZYNQMP_H */