diff options
author | Akshay Saraswat <akshay.s@samsung.com> | 2014-05-13 10:30:15 +0530 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-05-13 15:20:38 +0900 |
commit | 9b97b727dcfbdc02a0a78e4c1d81670742f28784 (patch) | |
tree | 9022a08de6a7671634a49748716aa187a80d7cc3 /include/configs/trats2.h | |
parent | f6ae1ca05839f92b103aaa0743d1d0012ba9773d (diff) | |
download | u-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/trats2.h')
-rw-r--r-- | include/configs/trats2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/trats2.h b/include/configs/trats2.h index 30a4b8c..3d5f21d 100644 --- a/include/configs/trats2.h +++ b/include/configs/trats2.h @@ -222,8 +222,8 @@ int get_soft_i2c_sda_pin(void); #define KEY_PWR_INTERRUPT_REG MAX77686_REG_PMIC_INT1 #define KEY_PWR_INTERRUPT_MASK (1 << 1) -#define KEY_VOL_UP_GPIO exynos4x12_gpio_get(2, x2, 2) -#define KEY_VOL_DOWN_GPIO exynos4x12_gpio_get(2, x3, 3) +#define KEY_VOL_UP_GPIO EXYNOS4X12_GPIO_X22 +#define KEY_VOL_DOWN_GPIO EXYNOS4X12_GPIO_X33 #endif /* __ASSEMBLY__ */ /* LCD console */ |