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>
This commit is contained in:
parent
0905046050
commit
c5ba6357b3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user