MLK-18591-3 android: Add FSL android fastboot support
authorYe Li <ye.li@nxp.com>
Wed, 15 May 2019 05:49:31 +0000 (22:49 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:56 +0000 (04:28 -0700)
commit9b149c2a28829fe7017f83981d634157bc31cc94
tree961a461e960b3f933ce585ef5ddd63052e360428
parentb871714c519e1bda3de6afbd354bee2cb246e4b7
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)
41 files changed:
arch/arm/include/asm/arch-mx6/sys_proto.h
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/cpu.c
arch/arm/mach-imx/imx8m/soc.c
arch/arm/mach-imx/mx6/soc.c
arch/arm/mach-imx/mx7/soc.c
arch/arm/mach-imx/mx7ulp/soc.c
board/freescale/common/Makefile
board/freescale/common/recovery_keypad.c [new file with mode: 0644]
board/freescale/common/recovery_keypad.h [new file with mode: 0644]
board/freescale/mx6sabreauto/mx6sabreauto.c
board/freescale/mx6sabresd/mx6sabresd.c
cmd/fastboot.c
cmd/read.c
common/board_r.c
common/image-android.c
disk/part_efi.c
drivers/fastboot/Kconfig
drivers/fastboot/Makefile
drivers/fastboot/fb_common.c
drivers/fastboot/fb_fsl/Makefile [new file with mode: 0644]
drivers/fastboot/fb_fsl/bcb.c [new file with mode: 0644]
drivers/fastboot/fb_fsl/bcb.h [new file with mode: 0644]
drivers/fastboot/fb_fsl/command.c [new file with mode: 0644]
drivers/fastboot/fb_fsl/fastboot_lock_unlock.c [new file with mode: 0644]
drivers/fastboot/fb_fsl/fb_fsl_boot.c [new file with mode: 0644]
drivers/fastboot/fb_fsl/fb_fsl_command.c [new file with mode: 0644]
drivers/fastboot/fb_fsl/fb_fsl_common.c [new file with mode: 0644]
drivers/fastboot/fb_fsl/fb_fsl_dev.c [new file with mode: 0644]
drivers/fastboot/fb_fsl/fb_fsl_getvar.c [new file with mode: 0644]
drivers/fastboot/fb_fsl/fb_fsl_partitions.c [new file with mode: 0644]
drivers/usb/gadget/f_fastboot.c
include/android_image.h
include/common.h
include/fastboot.h
include/fb_fsl.h [new file with mode: 0644]
include/image.h
include/mmc.h
include/part.h
include/recovery.h [new file with mode: 0644]
scripts/config_whitelist.txt