From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Mon, 24 Mar 2008 01:29:51 +0900 Subject: [U-Boot-Users] [MIPS] Extend MIPS_MAX_CACHE_SIZE upto 64kB Message-ID: <47E6857F.1020606@ruby.dti.ne.jp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Shinya Kuribayashi --- 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