]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4785/1: S3C24XX: Add _SHIFT definitions for S3C2410_BANKCON registers
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 Jan 2008 12:01:25 +0000 (13:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 13:20:51 +0000 (13:20 +0000)
Add definitions to allow easier decomposotion of the contents of
the S3C2410_BANKON registers

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-s3c2410/regs-mem.h

index e4d82341f7badd15ff6fddc18c2824e0993f01da..312ff93b63c6da560dcf21967cda4f1488b76eca 100644 (file)
 #define S3C2410_BANKCON_Tacp3          (0x1 << 2)
 #define S3C2410_BANKCON_Tacp4          (0x2 << 2)
 #define S3C2410_BANKCON_Tacp6          (0x3 << 2)
+#define S3C2410_BANKCON_Tacp_SHIFT     (2)
 
 #define S3C2410_BANKCON_Tcah0          (0x0 << 4)
 #define S3C2410_BANKCON_Tcah1          (0x1 << 4)
 #define S3C2410_BANKCON_Tcah2          (0x2 << 4)
 #define S3C2410_BANKCON_Tcah4          (0x3 << 4)
+#define S3C2410_BANKCON_Tcah_SHIFT     (4)
 
 #define S3C2410_BANKCON_Tcoh0          (0x0 << 6)
 #define S3C2410_BANKCON_Tcoh1          (0x1 << 6)
 #define S3C2410_BANKCON_Tcoh2          (0x2 << 6)
 #define S3C2410_BANKCON_Tcoh4          (0x3 << 6)
+#define S3C2410_BANKCON_Tcoh_SHIFT     (6)
 
 #define S3C2410_BANKCON_Tacc1          (0x0 << 8)
 #define S3C2410_BANKCON_Tacc2          (0x1 << 8)
 #define S3C2410_BANKCON_Tacc8          (0x5 << 8)
 #define S3C2410_BANKCON_Tacc10         (0x6 << 8)
 #define S3C2410_BANKCON_Tacc14         (0x7 << 8)
+#define S3C2410_BANKCON_Tacc_SHIFT     (8)
 
 #define S3C2410_BANKCON_Tcos0          (0x0 << 11)
 #define S3C2410_BANKCON_Tcos1          (0x1 << 11)
 #define S3C2410_BANKCON_Tcos2          (0x2 << 11)
 #define S3C2410_BANKCON_Tcos4          (0x3 << 11)
+#define S3C2410_BANKCON_Tcos_SHIFT     (11)
 
 #define S3C2410_BANKCON_Tacs0          (0x0 << 13)
 #define S3C2410_BANKCON_Tacs1          (0x1 << 13)
 #define S3C2410_BANKCON_Tacs2          (0x2 << 13)
 #define S3C2410_BANKCON_Tacs4          (0x3 << 13)
+#define S3C2410_BANKCON_Tacs_SHIFT     (13)
 
 #define S3C2410_BANKCON_SRAM           (0x0 << 15)
 #define S3C2400_BANKCON_EDODRAM                (0x2 << 15)