MA-14948 Append lock status by Android Property
authorHaoran.Wang <elven.wang@nxp.com>
Thu, 6 Jun 2019 04:51:06 +0000 (12:51 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:17 +0000 (09:49 +0800)
commit51d84ed5c237fcd2fdd11806639449b6099f2233
treed49f719df607885b8ac6ab5d85a0da5723b6fd8d
parent3a25ac711b9732c16cb822b9e43ef494e835a337
MA-14948 Append lock status by Android Property

Follow Bootloader requirement spec in
https://source.android.com/devices/bootloader/unlock-trusty.
Need to pass the flash lock status by androidboot.flash.locked.

This patch fixed the GTS failure
com.google.android.gts.persistentdata.PersistentDataHostTest#testTestGetFlashLockState.

Change-Id: I9a3508f7546b02c998e7668df2a33f864a58db75
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
(cherry picked from commit 3f2c4d49fe147637e61309421e5817b3e574ed56)
drivers/fastboot/fb_fsl/fb_fsl_boot.c