ARM: S3C24XX: Remove _INP macros in <mach/regs-gpioj.h>
Remove the _INP definitions, they are all zero and also unused Signed-off-by: Ben Dooks <ben-linux@fluff.org>
This commit is contained in:
parent
9772b7586e
commit
1d3ef014b5
|
@ -27,55 +27,42 @@
|
|||
#define S3C2413_GPJUP S3C2410_GPIOREG(0x88)
|
||||
#define S3C2413_GPJSLPCON S3C2410_GPIOREG(0x8C)
|
||||
|
||||
#define S3C2440_GPJ0_INP (0x00 << 0)
|
||||
#define S3C2440_GPJ0_OUTP (0x01 << 0)
|
||||
#define S3C2440_GPJ0_CAMDATA0 (0x02 << 0)
|
||||
|
||||
#define S3C2440_GPJ1_INP (0x00 << 2)
|
||||
#define S3C2440_GPJ1_OUTP (0x01 << 2)
|
||||
#define S3C2440_GPJ1_CAMDATA1 (0x02 << 2)
|
||||
|
||||
#define S3C2440_GPJ2_INP (0x00 << 4)
|
||||
#define S3C2440_GPJ2_OUTP (0x01 << 4)
|
||||
#define S3C2440_GPJ2_CAMDATA2 (0x02 << 4)
|
||||
|
||||
#define S3C2440_GPJ3_INP (0x00 << 6)
|
||||
#define S3C2440_GPJ3_OUTP (0x01 << 6)
|
||||
#define S3C2440_GPJ3_CAMDATA3 (0x02 << 6)
|
||||
|
||||
#define S3C2440_GPJ4_INP (0x00 << 8)
|
||||
#define S3C2440_GPJ4_OUTP (0x01 << 8)
|
||||
#define S3C2440_GPJ4_CAMDATA4 (0x02 << 8)
|
||||
|
||||
#define S3C2440_GPJ5_INP (0x00 << 10)
|
||||
#define S3C2440_GPJ5_OUTP (0x01 << 10)
|
||||
#define S3C2440_GPJ5_CAMDATA5 (0x02 << 10)
|
||||
|
||||
#define S3C2440_GPJ6_INP (0x00 << 12)
|
||||
#define S3C2440_GPJ6_OUTP (0x01 << 12)
|
||||
#define S3C2440_GPJ6_CAMDATA6 (0x02 << 12)
|
||||
|
||||
#define S3C2440_GPJ7_INP (0x00 << 14)
|
||||
#define S3C2440_GPJ7_OUTP (0x01 << 14)
|
||||
#define S3C2440_GPJ7_CAMDATA7 (0x02 << 14)
|
||||
|
||||
#define S3C2440_GPJ8_INP (0x00 << 16)
|
||||
#define S3C2440_GPJ8_OUTP (0x01 << 16)
|
||||
#define S3C2440_GPJ8_CAMPCLK (0x02 << 16)
|
||||
|
||||
#define S3C2440_GPJ9_INP (0x00 << 18)
|
||||
#define S3C2440_GPJ9_OUTP (0x01 << 18)
|
||||
#define S3C2440_GPJ9_CAMVSYNC (0x02 << 18)
|
||||
|
||||
#define S3C2440_GPJ10_INP (0x00 << 20)
|
||||
#define S3C2440_GPJ10_OUTP (0x01 << 20)
|
||||
#define S3C2440_GPJ10_CAMHREF (0x02 << 20)
|
||||
|
||||
#define S3C2440_GPJ11_INP (0x00 << 22)
|
||||
#define S3C2440_GPJ11_OUTP (0x01 << 22)
|
||||
#define S3C2440_GPJ11_CAMCLKOUT (0x02 << 22)
|
||||
|
||||
#define S3C2440_GPJ12_INP (0x00 << 24)
|
||||
#define S3C2440_GPJ12_OUTP (0x01 << 24)
|
||||
#define S3C2440_GPJ12_CAMRESET (0x02 << 24)
|
||||
|
||||
|
|
Loading…
Reference in New Issue