summaryrefslogtreecommitdiff
path: root/board/technexion/picosom-imx6ul/picosom-imx6ul.c
diff options
context:
space:
mode:
authorChen Guoyin <guoyin.chen@nxp.com>2016-11-15 17:57:25 +0800
committerChen Guoyin <guoyin.chen@nxp.com>2016-11-16 18:36:34 +0800
commita5a753d62da1c6352235845629470e5337f4f347 (patch)
treef50e64b95766bc861fe18bb2dfd584576fa2e76c /board/technexion/picosom-imx6ul/picosom-imx6ul.c
parent7f652587219cf14755c07c35e9271b45f150b518 (diff)
downloadu-boot-imx-a5a753d62da1c6352235845629470e5337f4f347.zip
u-boot-imx-a5a753d62da1c6352235845629470e5337f4f347.tar.gz
u-boot-imx-a5a753d62da1c6352235845629470e5337f4f347.tar.bz2
MA-9012 Support boot commands from bcb info
* Remove recovery/bootloader mode checking based on snvs register * Use the API fastboot_run_bootmode() as the entry to check different boot mode * Set boot mode based on commands stored in bcb structure to align Android's bootloader_message_writer.cpp bootonce-bootloader -- > Fastboot mode boot-recovery -- > Recovery mode * Rename the recovery.c as recovery_keypad.c as only handle keypad Change-Id: If34bee0c78bdca252e33296d61443d01a8fc8e96 Signed-off-by: Chen Guoyin <guoyin.chen@nxp.com>
Diffstat (limited to 'board/technexion/picosom-imx6ul/picosom-imx6ul.c')
-rw-r--r--board/technexion/picosom-imx6ul/picosom-imx6ul.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/board/technexion/picosom-imx6ul/picosom-imx6ul.c b/board/technexion/picosom-imx6ul/picosom-imx6ul.c
index ddbbeec..f4a1b77 100644
--- a/board/technexion/picosom-imx6ul/picosom-imx6ul.c
+++ b/board/technexion/picosom-imx6ul/picosom-imx6ul.c
@@ -778,13 +778,10 @@ void board_fastboot_setup(void)
}
#ifdef CONFIG_ANDROID_RECOVERY
-int check_recovery_cmd_file(void)
+int is_recovery_key_pressing(void)
{
- int recovery_mode = 0;
-
- recovery_mode = recovery_check_and_clean_flag();
-
- return recovery_mode;
+ /* No key defined for this board */
+ return 0;
}
void board_recovery_setup(void)