Commit 566933278101c144d75361ea682678a326c1290d
1 parent
3313e0e262
Exists in
master
and in
54 other branches
sh: Add support SuperH SH7751/SH7751R
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Showing 3 changed files with 9 additions and 7 deletions Side-by-side Diff
drivers/serial/serial_sh.c
... | ... | @@ -55,6 +55,7 @@ |
55 | 55 | # define LSR_ORER 1 |
56 | 56 | # define FIFOLEVEL_MASK 0xFF |
57 | 57 | #elif defined(CONFIG_CPU_SH7750) || \ |
58 | + defined(CONFIG_CPU_SH7751) || \ | |
58 | 59 | defined(CONFIG_CPU_SH7722) |
59 | 60 | # define SCSPTR (vu_short *)(SCIF_BASE + 0x20) |
60 | 61 | # define SCLSR (vu_short *)(SCIF_BASE + 0x24) |
include/asm-sh/cpu_sh4.h
... | ... | @@ -30,14 +30,15 @@ |
30 | 30 | #define CACHE_OC_NUM_ENTRIES 512 |
31 | 31 | #define CACHE_OC_ENTRY_SHIFT 5 |
32 | 32 | |
33 | -#if defined (CONFIG_CPU_SH7750) | |
34 | -#include <asm/cpu_sh7750.h> | |
33 | +#if defined (CONFIG_CPU_SH7750) || \ | |
34 | + defined(CONFIG_CPU_SH7751) | |
35 | +# include <asm/cpu_sh7750.h> | |
35 | 36 | #elif defined (CONFIG_CPU_SH7722) |
36 | -#include <asm/cpu_sh7722.h> | |
37 | +# include <asm/cpu_sh7722.h> | |
37 | 38 | #elif defined (CONFIG_CPU_SH7780) |
38 | -#include <asm/cpu_sh7780.h> | |
39 | +# include <asm/cpu_sh7780.h> | |
39 | 40 | #else |
40 | -#error "Unknown SH4 variant" | |
41 | +# error "Unknown SH4 variant" | |
41 | 42 | #endif |
42 | 43 | |
43 | 44 | #endif /* _ASM_CPU_SH4_H_ */ |
include/asm-sh/cpu_sh7750.h
... | ... | @@ -25,10 +25,10 @@ |
25 | 25 | |
26 | 26 | #ifdef CONFIG_CPU_TYPE_R |
27 | 27 | #define CACHE_OC_NUM_WAYS 2 |
28 | -#define CCR_CACHE_INIT 0x8000090d /* EMODE,ICI,ICE(16k),OCI,P1-wb,OCE(32k) */ | |
28 | +#define CCR_CACHE_INIT 0x8000090D /* EMODE,ICI,ICE(16k),OCI,P1-wb,OCE(32k) */ | |
29 | 29 | #else |
30 | 30 | #define CACHE_OC_NUM_WAYS 1 |
31 | -#define CCR_CACHE_INIT 0x0000090b | |
31 | +#define CCR_CACHE_INIT 0x0000090B | |
32 | 32 | #endif |
33 | 33 | |
34 | 34 | /* OCN */ |