summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-s5pc1xx
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2011-04-18 00:08:43 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2011-05-26 19:30:06 +0900
commit898ddf0a36855e462d7dbe0331b403829ad6a11a (patch)
tree1778852b16f3fce7d1ea8bc8e21367c32ff88e74 /arch/arm/include/asm/arch-s5pc1xx
parentd0b375f647423c8e666ff130597c4f28672e4d79 (diff)
downloadu-boot-imx-898ddf0a36855e462d7dbe0331b403829ad6a11a.zip
u-boot-imx-898ddf0a36855e462d7dbe0331b403829ad6a11a.tar.gz
u-boot-imx-898ddf0a36855e462d7dbe0331b403829ad6a11a.tar.bz2
S5P: GPIO Macro Values Corrected.
S5PC2XX: Macro values for Pull Up and Driver Strength were wrong. S5PC1XX: Macro values for Driver Strength were wrong. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/include/asm/arch-s5pc1xx')
-rw-r--r--arch/arm/include/asm/arch-s5pc1xx/gpio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-s5pc1xx/gpio.h b/arch/arm/include/asm/arch-s5pc1xx/gpio.h
index 2df33a6..485b9bf 100644
--- a/arch/arm/include/asm/arch-s5pc1xx/gpio.h
+++ b/arch/arm/include/asm/arch-s5pc1xx/gpio.h
@@ -149,8 +149,8 @@ void gpio_set_rate(struct s5p_gpio_bank *bank, int gpio, int mode);
/* 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