summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguoyin.chen <guoyin.chen@freescale.com>2014-07-01 16:21:33 +0800
committerYe.Li <B37916@freescale.com>2014-07-30 17:07:27 +0800
commit3e0ec8a4c5b183e7495a05fab593e0f97dbdc742 (patch)
tree1e3b0e4aefb65c0b5b904bd532eeb6fce215cad7
parent3b64da6b49a500d1cfe0f98c0f3b9d71e7e611ae (diff)
downloadu-boot-imx-3e0ec8a4c5b183e7495a05fab593e0f97dbdc742.zip
u-boot-imx-3e0ec8a4c5b183e7495a05fab593e0f97dbdc742.tar.gz
u-boot-imx-3e0ec8a4c5b183e7495a05fab593e0f97dbdc742.tar.bz2
ENGR00320609 Use FUNC2 as Volume down key in bootloader recovery mode detection
Align the keymap with Android rootfs as: FUNC1 -- > Volume + FUNC2 -- > Volume - Signed-off-by: guoyin.chen <guoyin.chen@freescale.com> (cherry picked from commit 875410fa2ddc8f8d2317c597db167a6a9b1b8a1f) Signed-off-by: Ye.Li <B37916@freescale.com>
-rw-r--r--board/freescale/mx6sxsabresd/mx6sxsabresd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c
index aecc00b..8fa4329 100644
--- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c
+++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c
@@ -963,9 +963,9 @@ void board_fastboot_setup(void)
#ifdef CONFIG_ANDROID_RECOVERY
-#define GPIO_VOL_DN_KEY IMX_GPIO_NR(1, 18)
+#define GPIO_VOL_DN_KEY IMX_GPIO_NR(1, 19)
iomux_v3_cfg_t const recovery_key_pads[] = {
- (MX6SX_PAD_CSI_DATA04__GPIO1_IO_18 | MUX_PAD_CTRL(BUTTON_PAD_CTRL)),
+ (MX6SX_PAD_CSI_DATA05__GPIO1_IO_19 | MUX_PAD_CTRL(BUTTON_PAD_CTRL)),
};
int check_recovery_cmd_file(void)