summaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/avb/fsl/fsl_avb.c4
-rwxr-xr-xlib/avb/fsl/fsl_bootctl.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/avb/fsl/fsl_avb.c b/lib/avb/fsl/fsl_avb.c
index ff92654e8b..cd70ebac38 100644
--- a/lib/avb/fsl/fsl_avb.c
+++ b/lib/avb/fsl/fsl_avb.c
@@ -8,8 +8,8 @@
#include <part.h>
#include <stdlib.h>
-#include <fsl_fastboot.h>
-#include "../../../drivers/usb/gadget/fastboot_lock_unlock.h"
+#include <fb_fsl.h>
+#include "../../../drivers/fastboot/fb_fsl/fastboot_lock_unlock.h"
#include <fsl_avb.h>
#include "fsl_avbkey.h"
diff --git a/lib/avb/fsl/fsl_bootctl.c b/lib/avb/fsl/fsl_bootctl.c
index 8f853bc807..1143c3f088 100755
--- a/lib/avb/fsl/fsl_bootctl.c
+++ b/lib/avb/fsl/fsl_bootctl.c
@@ -7,7 +7,7 @@
#include <common.h>
#include <stdlib.h>
#include <linux/string.h>
-#include <fsl_fastboot.h>
+#include <fb_fsl.h>
#include <fsl_avb.h>
/* as libavb's bootctl doesn't have the get_var support