From 1c79796a523255af5d012fa3cbc5400131b3b8b9 Mon Sep 17 00:00:00 2001 From: zhang sanshan Date: Mon, 15 May 2017 10:45:07 +0800 Subject: MA-9409-1 enable avb on android things. Fix issue for API changed from v2017. porting below patch from v2016. commit 44834fd12f60a090e3d10ab6f84a75460894d49d Change-Id: Ifaf0b86dd29648f9150646f00f54502676df9013 Signed-off-by: zhang sanshan --- include/fsl_fastboot.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/fsl_fastboot.h') diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h index f3b1c1d..7d66db2 100644 --- a/include/fsl_fastboot.h +++ b/include/fsl_fastboot.h @@ -42,6 +42,11 @@ #define FASTBOOT_PARTITION_DATA "userdata" #define FASTBOOT_PARTITION_BOOT_B "boot_b" #define FASTBOOT_PARTITION_SYSTEM_B "system_b" +#ifdef CONFIG_AVB_SUPPORT +#define FASTBOOT_PARTITION_VBMETA_A "vbmeta_a" +#define FASTBOOT_PARTITION_VBMETA_B "vbmeta_b" +#define FASTBOOT_PARTITION_AVBKEY "avbkey" +#endif #define FASTBOOT_PARTITION_MISC "misc" #define FASTBOOT_PARTITION_GPT "gpt" #define FASTBOOT_PARTITION_PRDATA "prdata" @@ -153,6 +158,10 @@ struct fastboot_ptentry { unsigned int partition_id; /* partition number in block device */ unsigned int partition_index; + /* filesystem UUID as string, if exists */ +#ifdef CONFIG_PARTITION_UUIDS + char uuid[37]; +#endif }; struct fastboot_device_info { -- cgit v1.1