From daae245a544d8b23dfa74c6108c35cebef81b8e7 Mon Sep 17 00:00:00 2001 From: Xinyu Chen Date: Fri, 10 Sep 2010 17:17:12 +0800 Subject: ENGR00127368 UBOOT: Make the android recovery code common for platforms 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 --- include/mxc_keyb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mxc_keyb.h') 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__ */ -- cgit v1.1