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>
Wed, 24 Jul 2019 05:35:16 +0000 (13:35 +0800)
commit3f2c4d49fe147637e61309421e5817b3e574ed56
tree4b3f1e26abb5f18cff16a59f2f1eae4688f08d84
parentc23398fb379131ad3c5c17c3d762c582796698fb
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>
drivers/fastboot/fb_fsl/fb_fsl_boot.c