Skip to contentSkip to conversation

sh: Add support Renesas SH7203 processor

PATCH New Nobuhiro Iwamatsu 1 participant 1 message Jul 3, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 sh: Add support Renesas SH7203 processor

---
 drivers/serial/serial_sh.c  |    3 ++-
 include/asm-sh/cpu_sh2.h    |    4 ++++
 include/asm-sh/cpu_sh7203.h |   41 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+), 1 deletions(-)
 create mode 100644 include/asm-sh/cpu_sh7203.h
drivers/serial/serial_sh.c +2 -1
index 0801ac4..4ea117c 100644
@@ -72,7 +72,8 @@
 # endif
 #elif defined(CONFIG_CPU_SH7750) || \
 	defined(CONFIG_CPU_SH7751) || \
-	defined(CONFIG_CPU_SH7722)
+	defined(CONFIG_CPU_SH7722) || \
+	defined(CONFIG_CPU_SH7203)
 # define SCSPTR	(vu_short *)(SCIF_BASE + 0x20)
 # define SCLSR 	(vu_short *)(SCIF_BASE + 0x24)
 # define LSR_ORER	1
include/asm-sh/cpu_sh2.h +4 -0
index d776cb9..7d8f92a 100644
@@ -31,6 +31,10 @@
 #define CACHE_OC_NUM_ENTRIES	256
 #define CACHE_OC_ENTRY_SHIFT	4
 
+#if defined(CONFIG_CPU_SH7203)
+# include <asm/cpu_sh7203.h>
+#else
 # error "Unknown SH2 variant"
+#endif
 
 #endif	/* _ASM_CPU_SH2_H_ */
include/asm-sh/cpu_sh7203.h new file +41 -0

41 lines not on this page · raw message

Signature · 1 line
1.5.5.1