]> git.sur5r.net Git - u-boot/commitdiff
sh: fix PFC registers definition for SH772{2, 3, 4}
authorBaruch Siach <baruch@tkos.co.il>
Mon, 10 Mar 2014 13:05:33 +0000 (15:05 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Fri, 14 Mar 2014 05:49:54 +0000 (14:49 +0900)
Add missing port X data register, and fix the offset of ports Y and Z.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/sh/include/asm/cpu_sh7722.h
arch/sh/include/asm/cpu_sh7723.h
arch/sh/include/asm/cpu_sh7724.h

index 7be37ae98421f9933e68281f787e48eaf7e9d68f..bf57e18a64ee83fdc3f784bb09ad569f856c68b3 100644 (file)
 #define PUDR        0xA4050162
 #define PVDR        0xA4050164
 #define PWDR        0xA4050166
-#define PYDR        0xA4050168
-#define PZDR        0xA405016A
+#define PXDR        0xA4050168
+#define PYDR        0xA405016A
+#define PZDR        0xA405016C
 
 /*     UBC     */
 #define CBR0        0xFF200000
index 3af0b0db2f8bedb46664cd8be0212e5ffe76203e..9d8cb8db444d6ed414bcca85f93ebc01556968e3 100644 (file)
 #define PUDR        0xA4050162
 #define PVDR        0xA4050164
 #define PWDR        0xA4050166
-#define PYDR        0xA4050168
-#define PZDR        0xA405016A
+#define PXDR        0xA4050168
+#define PYDR        0xA405016A
+#define PZDR        0xA405016C
 
 /* UBC */
 /* H-UDI */
index 2c2a474d37fa98e9e00482df5c9169a03709ac0c..88c418a17f82b6563c8b8e11b501241fb712e47d 100644 (file)
 #define PUDR        0xA4050162
 #define PVDR        0xA4050164
 #define PWDR        0xA4050166
-#define PYDR        0xA4050168
-#define PZDR        0xA405016A
+#define PXDR        0xA4050168
+#define PYDR        0xA405016A
+#define PZDR        0xA405016C
 
 /* Ether */
 #define EDMR           0xA4600000