int board_late_init(void) { #ifdef CONFIG_ANDROID_RECOVERY check_recovery_mode(); #endif #ifdef CONFIG_CMD_FASTBOOT check_fastboot_button(); if (fastboot_mode_flag) run_command("setenv bootcmd fastboot", 0); #endif return 0; }
static int check_recovery(void) { check_recovery_mode(); return 0; }