summaryrefslogtreecommitdiff
path: root/include/init.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2019-05-14 22:49:31 -0700
committerYe Li <ye.li@nxp.com>2020-04-26 23:26:25 -0700
commita2018ab0d13fca27e792f05b5f98e9621e95bdd4 (patch)
tree5b98fbb1bf2942169af3c7bd0e38d94cac894be0 /include/init.h
parent6932a10a1a4b22a682736bc364c1e37720566af5 (diff)
MLK-18591-3 android: Add FSL android fastboot support
Porting the FSL android fastboot features from imx u-boot v2018.03 to support all SoCs: imx6/imx7/imx7ulp/imx8/imx8m. The UUU commands like UCmd and ACmd are also added. Users need set CONFIG_FASTBOOT_UUU_SUPPORT=y to enable the feature. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 65120b06a7f750b9b1a6e0db3d2082cc7088d5a8) (cherry picked from commit 9b149c2a28829fe7017f83981d634157bc31cc94)
Diffstat (limited to 'include/init.h')
-rw-r--r--include/init.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h
index 2a33a3fd1e4..d3c5b215f2c 100644
--- a/include/init.h
+++ b/include/init.h
@@ -211,6 +211,10 @@ int init_func_vid(void);
int checkboard(void);
int show_board_info(void);
+#ifdef CONFIG_ANDROID_BOOT_IMAGE
+void get_reboot_reason(char *ret);
+#endif
+
/**
* Get the uppermost pointer that is valid to access
*