aboutsummaryrefslogtreecommitdiff
path: root/include/fastboot.h
diff options
context:
space:
mode:
authorHeiko Schocher2021-02-10 09:29:03 +0100
committerMarek Vasut2021-02-26 15:30:55 +0100
commitbc820d5bcc507366677c592e400e120481748c05 (patch)
tree63020a78f16249aa8bc570a1c3ccfff97ae0c513 /include/fastboot.h
parent403c2e46b4e99e87901f90fb879081e5baa6bb0b (diff)
fastboot: add UUU command UCmd and ACmd support
add support for the UUU commands ACmd and UCmd. Enable them through the Kconfig option CONFIG_FASTBOOT_UUU_SUPPORT base was commit in NXP kernel 9b149c2a2882: ("MLK-18591-3 android: Add FSL android fastboot support") and ported it to current mainline. Tested this patch on imx6ul based board. Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'include/fastboot.h')
-rw-r--r--include/fastboot.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fastboot.h b/include/fastboot.h
index 797d7dfd529..57daaf12982 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -44,6 +44,10 @@ enum {
#if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_BOOTBUS)
FASTBOOT_COMMAND_OEM_BOOTBUS,
#endif
+#if CONFIG_IS_ENABLED(FASTBOOT_UUU_SUPPORT)
+ FASTBOOT_COMMAND_ACMD,
+ FASTBOOT_COMMAND_UCMD,
+#endif
FASTBOOT_COMMAND_COUNT
};
@@ -169,4 +173,7 @@ void fastboot_data_download(const void *fastboot_data,
*/
void fastboot_data_complete(char *response);
+#if CONFIG_IS_ENABLED(FASTBOOT_UUU_SUPPORT)
+void fastboot_acmd_complete(void);
+#endif
#endif /* _FASTBOOT_H_ */