From e4b462bb113d0bb2f722e6cd92cfc8deb1d98944 Mon Sep 17 00:00:00 2001 From: Ben Dooks Date: Fri, 12 Dec 2008 00:24:04 +0000 Subject: [PATCH] --- yaml --- r: 137527 b: refs/heads/master c: 36d543a3b56dc7cddb63f5734e13db16066933a4 h: refs/heads/master i: 137525: 49812b35ecf87021c5d6e8402646671f0c3fd72e 137523: 51b98601a86b2142e28b4a500465f1741deb8dd4 137519: 38476fc783791148eabe232b05d871add9e09ea5 v: v3 --- [refs] | 2 +- .../include/plat/regs-gpio-memport.h | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 trunk/arch/arm/plat-s3c64xx/include/plat/regs-gpio-memport.h diff --git a/[refs] b/[refs] index 1ce1eab0f7f9..78700d4f9881 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2ae0b117a62c46c233c421e94fd4692ad562d1c7 +refs/heads/master: 36d543a3b56dc7cddb63f5734e13db16066933a4 diff --git a/trunk/arch/arm/plat-s3c64xx/include/plat/regs-gpio-memport.h b/trunk/arch/arm/plat-s3c64xx/include/plat/regs-gpio-memport.h new file mode 100644 index 000000000000..82342f6fd27d --- /dev/null +++ b/trunk/arch/arm/plat-s3c64xx/include/plat/regs-gpio-memport.h @@ -0,0 +1,25 @@ +/* linux/arch/arm/plat-s3c64xx/include/mach/regs-gpio-memport.h + * + * Copyright 2008 Openmoko, Inc. + * Copyright 2008 Simtec Electronics + * Ben Dooks + * http://armlinux.simtec.co.uk/ + * + * S3C64XX - GPIO memory port register definitions + */ + +#ifndef __ASM_PLAT_S3C64XX_REGS_GPIO_MEMPORT_H +#define __ASM_PLAT_S3C64XX_REGS_GPIO_MEMPORT_H __FILE__ + +#define S3C64XX_MEM0CONSTOP S3C64XX_GPIOREG(0x1B0) +#define S3C64XX_MEM1CONSTOP S3C64XX_GPIOREG(0x1B4) + +#define S3C64XX_MEM0CONSLP0 S3C64XX_GPIOREG(0x1C0) +#define S3C64XX_MEM0CONSLP1 S3C64XX_GPIOREG(0x1C4) +#define S3C64XX_MEM1CONSLP S3C64XX_GPIOREG(0x1C8) + +#define S3C64XX_MEM0DRVCON S3C64XX_GPIOREG(0x1D0) +#define S3C64XX_MEM1DRVCON S3C64XX_GPIOREG(0x1D4) + +#endif /* __ASM_PLAT_S3C64XX_REGS_GPIO_MEMPORT_H */ +