From 14b4e1a63e580b1993866ec783d958619d485d9c Mon Sep 17 00:00:00 2001
From: Paul Burton <paul.burton@imgtec.com>
Date: Fri, 8 Nov 2013 11:18:53 +0000
Subject: [PATCH] malta: remove cache size definitions

These will now be detected at runtime, allowing a single U-boot
configuration to function correctly with different bitstreams. Without
this you may need to re-configure, re-build and re-flash U-boot to your
Malta if you flash a new bitstream with a different cache configuration
to your old bitstream.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
---
 include/configs/malta.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/configs/malta.h b/include/configs/malta.h
index 6132ab8652b..ab5ba95e470 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -29,10 +29,6 @@
 #define CONFIG_SYS_MHZ			250	/* arbitrary value */
 #define CONFIG_SYS_MIPS_TIMER_FREQ	(CONFIG_SYS_MHZ * 1000000)
 
-#define CONFIG_SYS_DCACHE_SIZE		16384	/* arbitrary value */
-#define CONFIG_SYS_ICACHE_SIZE		16384	/* arbitrary value */
-#define CONFIG_SYS_CACHELINE_SIZE	32	/* arbitrary value */
-
 #define CONFIG_SWAP_IO_SPACE
 
 /*
-- 
GitLab