summaryrefslogtreecommitdiff
path: root/include/configs/trats.h
diff options
context:
space:
mode:
authorAkshay Saraswat <akshay.s@samsung.com>2014-05-13 10:30:15 +0530
committerMinkyu Kang <mk7.kang@samsung.com>2014-05-13 15:20:38 +0900
commit9b97b727dcfbdc02a0a78e4c1d81670742f28784 (patch)
tree9022a08de6a7671634a49748716aa187a80d7cc3 /include/configs/trats.h
parentf6ae1ca05839f92b103aaa0743d1d0012ba9773d (diff)
downloadu-boot-imx-9b97b727dcfbdc02a0a78e4c1d81670742f28784.zip
u-boot-imx-9b97b727dcfbdc02a0a78e4c1d81670742f28784.tar.gz
u-boot-imx-9b97b727dcfbdc02a0a78e4c1d81670742f28784.tar.bz2
S5P: Exynos: Config: Enable GPIO CMD config
Enabling configs for GPIO CMD, EXYNOS4 family and replacing exynos_gpio_get with new linear GPIO pin number required because of the new function asking only 2 arguments (pin and value) instead of 3 (bank, pin and value). Signed-off-by: Akshay Saraswat <akshay.s@samsung.com> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/trats.h')
-rw-r--r--include/configs/trats.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/trats.h b/include/configs/trats.h
index 815948b..fc16911 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -204,8 +204,8 @@
#define CONFIG_SYS_I2C_INIT_BOARD
/* I2C FG */
-#define CONFIG_SOFT_I2C_GPIO_SCL exynos4_gpio_get(2, y4, 1)
-#define CONFIG_SOFT_I2C_GPIO_SDA exynos4_gpio_get(2, y4, 0)
+#define CONFIG_SOFT_I2C_GPIO_SCL EXYNOS4_GPIO_Y41
+#define CONFIG_SOFT_I2C_GPIO_SDA EXYNOS4_GPIO_Y40
/* POWER */
#define CONFIG_POWER
@@ -242,8 +242,8 @@
#define KEY_PWR_INTERRUPT_REG MAX8997_REG_INT1
#define KEY_PWR_INTERRUPT_MASK (1 << 0)
-#define KEY_VOL_UP_GPIO exynos4_gpio_get(2, x2, 0)
-#define KEY_VOL_DOWN_GPIO exynos4_gpio_get(2, x2, 1)
+#define KEY_VOL_UP_GPIO EXYNOS4_GPIO_X20
+#define KEY_VOL_DOWN_GPIO EXYNOS4_GPIO_X21
#endif /* __ASSEMBLY__ */
/* LCD console */