summaryrefslogtreecommitdiff
path: root/include/configs/microblaze-generic.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-09-25 12:12:37 +0300
committerMichal Simek <michal.simek@xilinx.com>2019-10-08 10:55:11 +0300
commitc5ba6357b322581f2b408e039c459379e4aae5e3 (patch)
tree320404451976b8930696be40441edb8ca891a75e /include/configs/microblaze-generic.h
parent0905046050b041784869762824f6266c593fec67 (diff)
downloadu-boot-c5ba6357b322581f2b408e039c459379e4aae5e3.tar.xz
microblaze: Enable cache by default
The whole cache code needs to be redesign to read information about cache from DT instead of macro selection. Enable caches by default because systems have caches on by default for Linux. Also enable CMD_CACHE to be able to disable cache if there is any issue. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/microblaze-generic.h')
-rw-r--r--include/configs/microblaze-generic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index f66f63e074..ce18ee73c2 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -100,6 +100,9 @@
#endif /* !SPIFLASH */
#endif /* !FLASH */
+#define XILINX_USE_ICACHE 1
+#define XILINX_USE_DCACHE 1
+
#if defined(XILINX_USE_ICACHE)
# define CONFIG_ICACHE
#else