summaryrefslogtreecommitdiff
path: root/include/fsl_fastboot.h
diff options
context:
space:
mode:
authorzhang sanshan <sanshan.zhang@nxp.com>2017-05-15 10:45:07 +0800
committerChen Guoyin <guoyin.chen@nxp.com>2017-07-10 15:08:53 +0800
commit1c79796a523255af5d012fa3cbc5400131b3b8b9 (patch)
tree671d094845bc787fca67f158f73084db3ee80f49 /include/fsl_fastboot.h
parent893ec7807779aa34ce49866f03e49c592fff9543 (diff)
downloadu-boot-imx-1c79796a523255af5d012fa3cbc5400131b3b8b9.zip
u-boot-imx-1c79796a523255af5d012fa3cbc5400131b3b8b9.tar.gz
u-boot-imx-1c79796a523255af5d012fa3cbc5400131b3b8b9.tar.bz2
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 <sanshan.zhang@nxp.com>
Diffstat (limited to 'include/fsl_fastboot.h')
-rw-r--r--include/fsl_fastboot.h9
1 files changed, 9 insertions, 0 deletions
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 {