diff options
author | Wolfgang Denk <wd@denx.de> | 2008-12-13 00:26:19 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-12-13 00:26:19 +0100 |
commit | f6704e49d6221fa650434e75faa5a3e2d7002f1b (patch) | |
tree | ea8c82808cf1bb8397d41b0c293c318d90c3cf9e /include/asm-sh/cpu_sh4.h | |
parent | 8e9c63b40059e81b870685b54d99589152c5b750 (diff) | |
parent | d8bbc51c7ba9b737a20984333d19fe28a3526431 (diff) | |
download | u-boot-imx-f6704e49d6221fa650434e75faa5a3e2d7002f1b.zip u-boot-imx-f6704e49d6221fa650434e75faa5a3e2d7002f1b.tar.gz u-boot-imx-f6704e49d6221fa650434e75faa5a3e2d7002f1b.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-sh
Diffstat (limited to 'include/asm-sh/cpu_sh4.h')
-rw-r--r-- | include/asm-sh/cpu_sh4.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-sh/cpu_sh4.h b/include/asm-sh/cpu_sh4.h index b6cc6cf..d2dbfcd 100644 --- a/include/asm-sh/cpu_sh4.h +++ b/include/asm-sh/cpu_sh4.h @@ -26,8 +26,15 @@ #define CCR_CACHE_ICI 0x00000800 #define CACHE_OC_ADDRESS_ARRAY 0xf4000000 + +#if defined (CONFIG_CPU_SH7750) || \ + defined(CONFIG_CPU_SH7751) #define CACHE_OC_WAY_SHIFT 14 #define CACHE_OC_NUM_ENTRIES 512 +#else +#define CACHE_OC_WAY_SHIFT 13 +#define CACHE_OC_NUM_ENTRIES 256 +#endif #define CACHE_OC_ENTRY_SHIFT 5 #if defined (CONFIG_CPU_SH7750) || \ |