]> git.sur5r.net Git - u-boot/commitdiff
sh: Add support SuperH SH7751/SH7751R
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wed, 12 Mar 2008 03:10:28 +0000 (12:10 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Fri, 28 Mar 2008 05:16:12 +0000 (14:16 +0900)
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/serial/serial_sh.c
include/asm-sh/cpu_sh4.h
include/asm-sh/cpu_sh7750.h

index 8ee58a06f792e3683c637f57b0019330b9bed95f..7088c93114c48812f01c07e492ff5a4aa944d1a2 100644 (file)
@@ -55,6 +55,7 @@
 # define LSR_ORER      1
 # define FIFOLEVEL_MASK        0xFF
 #elif defined(CONFIG_CPU_SH7750) || \
+       defined(CONFIG_CPU_SH7751) || \
        defined(CONFIG_CPU_SH7722)
 # define SCSPTR        (vu_short *)(SCIF_BASE + 0x20)
 # define SCLSR         (vu_short *)(SCIF_BASE + 0x24)
index 4d9e300b1adab355ad2b31a85d81fa3b462da7e8..c200ba5a46318201db26c6a81acdb7a7c2f4f1d5 100644 (file)
 #define CACHE_OC_NUM_ENTRIES   512
 #define CACHE_OC_ENTRY_SHIFT   5
 
-#if defined (CONFIG_CPU_SH7750)
-#include <asm/cpu_sh7750.h>
+#if defined (CONFIG_CPU_SH7750) || \
+       defined(CONFIG_CPU_SH7751)
+# include <asm/cpu_sh7750.h>
 #elif defined (CONFIG_CPU_SH7722)
-#include <asm/cpu_sh7722.h>
+# include <asm/cpu_sh7722.h>
 #elif defined (CONFIG_CPU_SH7780)
-#include <asm/cpu_sh7780.h>
+# include <asm/cpu_sh7780.h>
 #else
-#error "Unknown SH4 variant"
+# error "Unknown SH4 variant"
 #endif
 
 #endif /* _ASM_CPU_SH4_H_ */
index bb6461a6bfc73a084e5df91f5c0e4118344a6ccf..3c3c30980aa19decb5e0caf2bbe4fcd0775fbed5 100644 (file)
 
 #ifdef CONFIG_CPU_TYPE_R
 #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
 #define CACHE_OC_NUM_WAYS     1
-#define CCR_CACHE_INIT   0x0000090b
+#define CCR_CACHE_INIT   0x0000090B
 #endif
 
 /*      OCN     */