From 5995d15b47d506b41cc64694151b1db0083645de Mon Sep 17 00:00:00 2001 From: Ben Dooks Date: Tue, 19 Oct 2004 01:02:02 +0100 Subject: [PATCH] [ARM PATCH] 2145/1: S3C2410 - GPIO ID register update Patch from Ben Dooks Update the include/asm-arm/arch-s3c2410/regs-gpio.h with GSTATUS1 register information Signed-off-by: Ben Dooks --- include/asm-arm/arch-s3c2410/regs-gpio.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/asm-arm/arch-s3c2410/regs-gpio.h b/include/asm-arm/arch-s3c2410/regs-gpio.h index 05eb116287830..0c1498d3401f2 100644 --- a/include/asm-arm/arch-s3c2410/regs-gpio.h +++ b/include/asm-arm/arch-s3c2410/regs-gpio.h @@ -1,4 +1,4 @@ -/* linux/include/asm/hardware/s3c2410/ +/* linux/include/asm/hardware/s3c2410/regs-gpio.h * * Copyright (c) 2003,2004 Simtec Electronics * http://www.simtec.co.uk/products/SWLINUX/ @@ -15,6 +15,7 @@ * 12-03-2004 BJD Updated include protection * 20-07-2004 BJD Added GPIO pin numbers, added Port A definitions * 04-10-2004 BJD Fixed number of bugs, added EXT IRQ filter defs + * 17-10-2004 BJD Added GSTATUS1 register definitions */ @@ -806,6 +807,10 @@ #define S3C2410_GSTATUS0_RnB (1<<1) #define S3C2410_GSTATUS0_nBATTFLT (1<<0) +#define S3C2410_GSTATUS1_IDMASK (0xffff0000) +#define S3C2410_GSTATUS1_2410 (0x32410000) +#define S3C2410_GSTATUS1_2440 (0x32440000) + #define S3C2410_GSTATUS2_WTRESET (1<<2) #define S3C2410_GSTATUs2_OFFRESET (1<<1) #define S3C2410_GSTATUS2_PONRESET (1<<0) -- 2.53.0