Skip to content
Snippets Groups Projects
Commit c5ba6357 authored by Michal Simek's avatar Michal Simek
Browse files

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: default avatarMichal Simek <michal.simek@xilinx.com>
parent 09050460
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,7 @@ CONFIG_CMD_DHCP=y ...@@ -37,6 +37,7 @@ CONFIG_CMD_DHCP=y
CONFIG_CMD_TFTPPUT=y CONFIG_CMD_TFTPPUT=y
CONFIG_CMD_MII=y CONFIG_CMD_MII=y
CONFIG_CMD_PING=y CONFIG_CMD_PING=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_JFFS2=y CONFIG_CMD_JFFS2=y
CONFIG_SPL_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y
CONFIG_OF_EMBED=y CONFIG_OF_EMBED=y
......
...@@ -100,6 +100,9 @@ ...@@ -100,6 +100,9 @@
#endif /* !SPIFLASH */ #endif /* !SPIFLASH */
#endif /* !FLASH */ #endif /* !FLASH */
#define XILINX_USE_ICACHE 1
#define XILINX_USE_DCACHE 1
#if defined(XILINX_USE_ICACHE) #if defined(XILINX_USE_ICACHE)
# define CONFIG_ICACHE # define CONFIG_ICACHE
#else #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment