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

Paul Burton paul.burton at imgtec.com
Fri Nov 8 12:18:53 CET 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>
---
Changes in v2:
  - rebase atop master
---
 include/configs/malta.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/configs/malta.h b/include/configs/malta.h
index a0c5b79..5368308 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
 
 /*
-- 
1.8.4.1




More information about the U-Boot mailing list