diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6sabreandroid_common.h | 2 | ||||
-rw-r--r-- | include/configs/mx6sxsabreautoandroid.h | 2 | ||||
-rw-r--r-- | include/fsl_fastboot.h | 6 | ||||
-rw-r--r-- | include/recovery.h | 3 |
4 files changed, 6 insertions, 7 deletions
diff --git a/include/configs/mx6sabreandroid_common.h b/include/configs/mx6sabreandroid_common.h index 2429b20..57e9fc3 100644 --- a/include/configs/mx6sabreandroid_common.h +++ b/include/configs/mx6sabreandroid_common.h @@ -62,7 +62,7 @@ #define CONFIG_ANDROID_MISC_PARTITION_MMC 8 #if defined(CONFIG_FASTBOOT_STORAGE_NAND) -#define ANDROID_FASTBOOT_NAND_PARTS "16m@64m(boot) 16m@80m(recovery) 810m@96m(android_root)ubifs" +#define ANDROID_FASTBOOT_NAND_PARTS "16m@64m(boot) 16m@80m(recovery) 1m@96m(misc) 810m@97m(android_root)ubifs" #endif #define CONFIG_CMD_BOOTA diff --git a/include/configs/mx6sxsabreautoandroid.h b/include/configs/mx6sxsabreautoandroid.h index 049d240..00aea92 100644 --- a/include/configs/mx6sxsabreautoandroid.h +++ b/include/configs/mx6sxsabreautoandroid.h @@ -53,7 +53,7 @@ #endif #if defined(CONFIG_FASTBOOT_STORAGE_NAND) -#define ANDROID_FASTBOOT_NAND_PARTS "16m@64m(boot) 16m@80m(recovery) 810m@96m(android_root)ubifs" +#define ANDROID_FASTBOOT_NAND_PARTS "16m@64m(boot) 16m@80m(recovery) 1m@96m(misc) 810m@97m(android_root)ubifs" #endif #define CONFIG_ANDROID_MAIN_MMC_BUS 2 diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h index 60c4057..75b166b 100644 --- a/include/fsl_fastboot.h +++ b/include/fsl_fastboot.h @@ -7,6 +7,7 @@ #ifndef FSL_FASTBOOT_H #define FSL_FASTBOOT_H +#include <common.h> #define FASTBOOT_PTENTRY_FLAGS_REPEAT(n) (n & 0x0f) #define FASTBOOT_PTENTRY_FLAGS_REPEAT_MASK 0x0000000F @@ -175,11 +176,10 @@ void fastboot_flash_dump_ptn(void); /* Check the board special boot mode reboot to fastboot mode. */ -int fastboot_check_and_clean_flag(void); -int fastboot_check_and_clean_command(void); +bool fastboot_check_and_clean_command(void); /* Set the flag which reboot to fastboot mode*/ -void fastboot_enable_flag(void); +void fastboot_enable_command(void); /*check if fastboot mode is requested by user*/ void check_fastboot(void); diff --git a/include/recovery.h b/include/recovery.h index 3adaeb1..e1636bf 100644 --- a/include/recovery.h +++ b/include/recovery.h @@ -13,8 +13,7 @@ struct reco_envs { }; void check_recovery_mode(void); -int recovery_check_and_clean_flag(void); -int recovery_check_and_clean_command(void); +bool recovery_check_and_clean_command(void); int check_recovery_cmd_file(void); void board_recovery_setup(void); int read_boot_reason(void); |