summaryrefslogtreecommitdiff
path: root/include/mxc_keyb.h
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2010-09-10 17:17:12 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2010-09-10 17:23:18 +0800
commitdaae245a544d8b23dfa74c6108c35cebef81b8e7 (patch)
treea35f6e1eb2b46e6a7431d4f071ebe5299917d093 /include/mxc_keyb.h
parent7bbe5d7a5203a07496ec372ab55563a2e230d03e (diff)
downloadu-boot-imx-daae245a544d8b23dfa74c6108c35cebef81b8e7.zip
u-boot-imx-daae245a544d8b23dfa74c6108c35cebef81b8e7.tar.gz
u-boot-imx-daae245a544d8b23dfa74c6108c35cebef81b8e7.tar.bz2
ENGR00127368 UBOOT: Make the android recovery code common for platformsrel_imx_2.6.31_10.09.00
Move the android recovery codes into common/recovery.c. Cut the keypad detecting time. Now we only need detect there's POWER and HOME key pressing at the time scanning keyboard matrix. So user must hold these two keys when bootup to enter recovery mode. This can reduce the uboot boot time with recovery mode configured. Later /cache file checking for recovery command should be merged into the common/recovery.c Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Diffstat (limited to 'include/mxc_keyb.h')
-rw-r--r--include/mxc_keyb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mxc_keyb.h b/include/mxc_keyb.h
index a4b0a4e..6f605ad 100644
--- a/include/mxc_keyb.h
+++ b/include/mxc_keyb.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -196,6 +196,6 @@ struct kpp_key_info {
};
int mxc_kpp_init(void);
-int mxc_kpp_getc(struct kpp_key_info *);
+int mxc_kpp_getc(struct kpp_key_info **);
#endif /* __MXC_KEYB_H__ */