All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [MIPS] Extend MIPS_MAX_CACHE_SIZE upto 64kB
@ 2008-03-23 16:29 Shinya Kuribayashi
  2008-03-25  5:36 ` Shinya Kuribayashi
  0 siblings, 1 reply; 2+ messages in thread
From: Shinya Kuribayashi @ 2008-03-23 16:29 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
---

 cpu/mips/cache.S |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)


diff --git a/cpu/mips/cache.S b/cpu/mips/cache.S
index bda9bb1..2998a3b 100644
--- a/cpu/mips/cache.S
+++ b/cpu/mips/cache.S
@@ -32,10 +32,11 @@
 
 #define RA		t8
 
-	/* 16KB is the maximum size of instruction and data caches on
-	 * MIPS 4K.
-	 */
-#define MIPS_MAX_CACHE_SIZE	0x4000
+/*
+ * 16kB is the maximum size of instruction and data caches on MIPS 4K,
+ * 64kB is on 4KE, 24K, 5K, 34K, etc. Set bigger size for convenience.
+ */
+#define MIPS_MAX_CACHE_SIZE	0x10000
 
 #define INDEX_BASE	KSEG0
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-25  5:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-23 16:29 [U-Boot-Users] [MIPS] Extend MIPS_MAX_CACHE_SIZE upto 64kB Shinya Kuribayashi
2008-03-25  5:36 ` Shinya Kuribayashi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.