]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
Make h8300/jt_usb1 board compilable
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 18 Jul 2010 20:04:15 +0000 (22:04 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Tue, 16 Nov 2010 15:54:52 +0000 (16:54 +0100)
h8s2633 uses different names for CPU registers so I added aliases which
have the same name as for h8s2638.

arch/h8300/mach-2633/defines/h8s2633h.h

index 4697435b5e2770cf3d6202b8aca19816f3455bde..d290c8e3752b46bfd69e764127b2ba8b87156240 100644 (file)
 
 /* TPU common registers and bits end */
 
+
+/* h8s2638.h compatibility */
+#define TPU_TSR1 TPU_TPSR1
+#define TSR1_TCFVm TPSR1_TCFVm
+#define TPU_TCR1 TPU_TPCR1
+#define TPU_TMDR1 TPU_TPMDR1
+#define TPU_TIER1 TPU_TPIER1
+#define TPU_TSTR TPU_TPSTR
+#define TSTR_CST1m TPSTR_CST1m
+#define TIER1_TCIEVm TPIER1_TCIEVm
+
+
 #endif /* _H82633H_H */