From patchwork Mon Apr 18 04:53:03 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 1063 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:48:45 -0000 Delivered-To: patches@linaro.org Received: by 10.224.67.148 with SMTP id r20cs22351qai; Sun, 17 Apr 2011 21:53:24 -0700 (PDT) Received: by 10.216.49.15 with SMTP id w15mr1930879web.1.1303102403369; Sun, 17 Apr 2011 21:53:23 -0700 (PDT) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx.google.com with ESMTPS id w80si9313102wew.108.2011.04.17.21.53.22 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Apr 2011 21:53:23 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.42 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) client-ip=74.125.82.42; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.42 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) smtp.mail=chander.kashyap@linaro.org Received: by wwk4 with SMTP id 4so1375847wwk.1 for ; Sun, 17 Apr 2011 21:53:22 -0700 (PDT) Received: by 10.227.206.84 with SMTP id ft20mr2337986wbb.161.1303102402454; Sun, 17 Apr 2011 21:53:22 -0700 (PDT) Received: from chander-ubuntu ([115.113.119.130]) by mx.google.com with ESMTPS id o23sm3015108wbc.10.2011.04.17.21.53.16 (version=SSLv3 cipher=OTHER); Sun, 17 Apr 2011 21:53:21 -0700 (PDT) From: Chander Kashyap To: u-boot@lists.denx.de Cc: mk7.kang@samsung.com, bjlee@samsung.com, patches@linaro.org, samsung@lists.linaro.org, linaro-dev@lists.linaro.org, Chander Kashyap Subject: [PATCH] S5PC2XX: GPIO Macro Values Corrected. Date: Mon, 18 Apr 2011 10:23:03 +0530 Message-Id: <1303102383-24476-1-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.1 Macro values for Pull Up and Driver Strength were wrong. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-s5pc2xx/gpio.h | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) -- 1.7.1 diff --git a/arch/arm/include/asm/arch-s5pc2xx/gpio.h b/arch/arm/include/asm/arch-s5pc2xx/gpio.h index 05e5b3e..38303e4 100644 --- a/arch/arm/include/asm/arch-s5pc2xx/gpio.h +++ b/arch/arm/include/asm/arch-s5pc2xx/gpio.h @@ -99,14 +99,13 @@ void gpio_set_rate(struct s5p_gpio_bank *bank, int gpio, int mode); /* Pull mode */ #define GPIO_PULL_NONE 0x0 #define GPIO_PULL_DOWN 0x1 -#define GPIO_PULL_UP 0x2 +#define GPIO_PULL_UP 0x3 /* Drive Strength level */ #define GPIO_DRV_1X 0x0 -#define GPIO_DRV_2X 0x1 -#define GPIO_DRV_3X 0x2 +#define GPIO_DRV_3X 0x1 +#define GPIO_DRV_2X 0x2 #define GPIO_DRV_4X 0x3 #define GPIO_DRV_FAST 0x0 #define GPIO_DRV_SLOW 0x1 - #endif