mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
microblaze: Simplify cache handling
Enable caches by default. For now just simplify config file but it should be read from DT or PVRs. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
91218f4c24
commit
7556fa09e0
1 changed files with 2 additions and 14 deletions
|
@ -69,20 +69,8 @@
|
|||
# define CONFIG_SYS_MAX_FLASH_SECT 512
|
||||
#endif /* !FLASH */
|
||||
|
||||
#define XILINX_USE_ICACHE 1
|
||||
#define XILINX_USE_DCACHE 1
|
||||
|
||||
#if defined(XILINX_USE_ICACHE)
|
||||
# define CONFIG_ICACHE
|
||||
#else
|
||||
# undef CONFIG_ICACHE
|
||||
#endif
|
||||
|
||||
#if defined(XILINX_USE_DCACHE)
|
||||
# define CONFIG_DCACHE
|
||||
#else
|
||||
# undef CONFIG_DCACHE
|
||||
#endif
|
||||
#define CONFIG_ICACHE
|
||||
#define CONFIG_DCACHE
|
||||
|
||||
#ifndef XILINX_DCACHE_BYTE_SIZE
|
||||
#define XILINX_DCACHE_BYTE_SIZE 32768
|
||||
|
|
Loading…
Reference in a new issue