Commit afc49177 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Arnd Bergmann

ARM: clps711x: Fix register definitions

This patch contain some fixes:
- Fixes the address of register PORTE.
- Corrects name for DAIDR0 register.
- Removes unused definition for SYNCIO_CFGLEN.
- Fixes definition SYNCIO_FRMLEN.
Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
parent 7255f87a
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
#define PBDDR (0x0041) #define PBDDR (0x0041)
#define PCDDR (0x0042) #define PCDDR (0x0042)
#define PDDDR (0x0043) #define PDDDR (0x0043)
#define PEDR (0x0080) #define PEDR (0x0083)
#define PEDDR (0x00c0) #define PEDDR (0x00c3)
#define SYSCON1 (0x0100) #define SYSCON1 (0x0100)
#define SYSFLG1 (0x0140) #define SYSFLG1 (0x0140)
#define MEMCFG1 (0x0180) #define MEMCFG1 (0x0180)
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
#define KBDEOI (0x1700) #define KBDEOI (0x1700)
#define DAIR (0x2000) #define DAIR (0x2000)
#define DAIR0 (0x2040) #define DAIDR0 (0x2040)
#define DAIDR1 (0x2080) #define DAIDR1 (0x2080)
#define DAIDR2 (0x20c0) #define DAIDR2 (0x20c0)
#define DAISR (0x2100) #define DAISR (0x2100)
...@@ -191,8 +191,7 @@ ...@@ -191,8 +191,7 @@
#define UBRLCR_WRDLEN8 (3 << 17) #define UBRLCR_WRDLEN8 (3 << 17)
#define UBRLCR_WRDLEN_MASK (3 << 17) #define UBRLCR_WRDLEN_MASK (3 << 17)
#define SYNCIO_FRMLEN(x) (((x) & 0x3f) << 7) #define SYNCIO_FRMLEN(x) (((x) & 0x1f) << 8)
#define SYNCIO_CFGLEN(x) ((x) & 0x7f)
#define SYNCIO_SMCKEN (1 << 13) #define SYNCIO_SMCKEN (1 << 13)
#define SYNCIO_TXFRMEN (1 << 14) #define SYNCIO_TXFRMEN (1 << 14)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment