[U-Boot] [PATCH 12/15] malta: remove cache size definitions

Paul Burton paul.burton at imgtec.com
Wed Oct 23 12:08:02 CEST 2013


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 at 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 23a781e..19acf3a 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -30,10 +30,6 @@
 #define CONFIG_SYS_MIPS_TIMER_FREQ	(CONFIG_SYS_MHZ * 1000000)
 #define CONFIG_SYS_HZ			1000
 
-#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
 
 /*
-- 
1.8.4




More information about the U-Boot mailing list