提交 c5ba6357 编写于 作者: M Michal Simek

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: NMichal Simek <michal.simek@xilinx.com>
上级 09050460
......@@ -37,6 +37,7 @@ CONFIG_CMD_DHCP=y
CONFIG_CMD_TFTPPUT=y
CONFIG_CMD_MII=y
CONFIG_CMD_PING=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_JFFS2=y
CONFIG_SPL_OF_CONTROL=y
CONFIG_OF_EMBED=y
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册