Commit 56693327 authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu
Browse files

sh: Add support SuperH SH7751/SH7751R



Signed-off-by: default avatarNobuhiro Iwamatsu <iwamatsu@nigauri.org>
parent 3313e0e2
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
# define LSR_ORER 1 # define LSR_ORER 1
# define FIFOLEVEL_MASK 0xFF # define FIFOLEVEL_MASK 0xFF
#elif defined(CONFIG_CPU_SH7750) || \ #elif defined(CONFIG_CPU_SH7750) || \
defined(CONFIG_CPU_SH7751) || \
defined(CONFIG_CPU_SH7722) defined(CONFIG_CPU_SH7722)
# define SCSPTR (vu_short *)(SCIF_BASE + 0x20) # define SCSPTR (vu_short *)(SCIF_BASE + 0x20)
# define SCLSR (vu_short *)(SCIF_BASE + 0x24) # define SCLSR (vu_short *)(SCIF_BASE + 0x24)
......
...@@ -30,14 +30,15 @@ ...@@ -30,14 +30,15 @@
#define CACHE_OC_NUM_ENTRIES 512 #define CACHE_OC_NUM_ENTRIES 512
#define CACHE_OC_ENTRY_SHIFT 5 #define CACHE_OC_ENTRY_SHIFT 5
#if defined (CONFIG_CPU_SH7750) #if defined (CONFIG_CPU_SH7750) || \
#include <asm/cpu_sh7750.h> defined(CONFIG_CPU_SH7751)
# include <asm/cpu_sh7750.h>
#elif defined (CONFIG_CPU_SH7722) #elif defined (CONFIG_CPU_SH7722)
#include <asm/cpu_sh7722.h> # include <asm/cpu_sh7722.h>
#elif defined (CONFIG_CPU_SH7780) #elif defined (CONFIG_CPU_SH7780)
#include <asm/cpu_sh7780.h> # include <asm/cpu_sh7780.h>
#else #else
#error "Unknown SH4 variant" # error "Unknown SH4 variant"
#endif #endif
#endif /* _ASM_CPU_SH4_H_ */ #endif /* _ASM_CPU_SH4_H_ */
...@@ -25,10 +25,10 @@ ...@@ -25,10 +25,10 @@
#ifdef CONFIG_CPU_TYPE_R #ifdef CONFIG_CPU_TYPE_R
#define CACHE_OC_NUM_WAYS 2 #define CACHE_OC_NUM_WAYS 2
#define CCR_CACHE_INIT 0x8000090d /* EMODE,ICI,ICE(16k),OCI,P1-wb,OCE(32k) */ #define CCR_CACHE_INIT 0x8000090D /* EMODE,ICI,ICE(16k),OCI,P1-wb,OCE(32k) */
#else #else
#define CACHE_OC_NUM_WAYS 1 #define CACHE_OC_NUM_WAYS 1
#define CCR_CACHE_INIT 0x0000090b #define CCR_CACHE_INIT 0x0000090B
#endif #endif
/* OCN */ /* OCN */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment