From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Mon, 16 Nov 2020 16:02:15 +0100 Subject: [PATCH v2 2/6] microblaze: Simplify cache handling In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Enable caches by default. For now just simplify config file but it should be read from DT or PVRs. Signed-off-by: Michal Simek --- (no changes since v1) include/configs/microblaze-generic.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index d5b2bd856608..05ea64b16312 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -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 -- 2.29.2