MA-14916 fix build and function issues of fastboot for Android
authorfaqiang.zhu <faqiang.zhu@nxp.com>
Wed, 5 Jun 2019 11:52:48 +0000 (19:52 +0800)
committerfaqiang.zhu <faqiang.zhu@nxp.com>
Tue, 2 Jul 2019 06:46:06 +0000 (14:46 +0800)
commit4b8da00151a32abbfaee3ca1330e0b15cd77de86
tree3aab8ce30c047cdeace2b946492fa816116d5af8
parent639f67e094008cf3894a961601cae9eb1f652599
MA-14916 fix build and function issues of fastboot for Android

to fix build issues, add two header files, "fastboot_lock_unlock.h" is
copied from imx_v2018.03 branch, "fb_fsl_common.h" contains some
varialbes and a function used in more than one files.

the places where "fastboot_lock_unlock.h" is included is modified to
adapt to this change.
"fsl_fastboot.h" is renamed to "fb_fsl.h", the places where
"fsl_fastboot.h" is included is modified to adapt to this change.

to fix function issues, command handle function in "fb_fsl_command.c" is
modified.

build based on imx8mm_ddr4_evk, the board can boot and basic fastboot
function can work.

Change-Id: I34961ef70351a1ee4c84b6721dba5ac7b261a0d3
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
drivers/fastboot/fb_fsl/fastboot_lock_unlock.h [new file with mode: 0644]
drivers/fastboot/fb_fsl/fb_fsl_boot.c
drivers/fastboot/fb_fsl/fb_fsl_command.c [changed mode: 0644->0755]
drivers/fastboot/fb_fsl/fb_fsl_common.c [changed mode: 0644->0755]
drivers/fastboot/fb_fsl/fb_fsl_common.h [new file with mode: 0755]
drivers/fastboot/fb_fsl/fb_fsl_dev.c [changed mode: 0644->0755]
drivers/fastboot/fb_fsl/fb_fsl_getvar.c
lib/avb/fsl/fsl_avb.c
lib/avb/fsl/fsl_bootctl.c