summaryrefslogtreecommitdiff
path: root/common/cmd_license.c
diff options
context:
space:
mode:
authorfang hui <hui.fang@nxp.com>2016-12-19 14:02:02 +0800
committerfang hui <hui.fang@nxp.com>2016-12-19 14:02:02 +0800
commit442f6237f6d0ca9c45a18d9a2e2cf88a362d619d (patch)
tree358368e55211e75fe7dfee5a1a3fc2b19493818b /common/cmd_license.c
parent9d285f932afa427e057dd073a7b81cace734e503 (diff)
downloadu-boot-imx-442f6237f6d0ca9c45a18d9a2e2cf88a362d619d.zip
u-boot-imx-442f6237f6d0ca9c45a18d9a2e2cf88a362d619d.tar.gz
u-boot-imx-442f6237f6d0ca9c45a18d9a2e2cf88a362d619d.tar.bz2
MA-9119 - [IOT] iot-flashall-imx6ul.sh some times exit as
"ERROR: device is LOCKed!" The issue occurs when the "fbmisc" partition is empty. So the decode data is not same as plain text, then goto lock status. When "gpt" change from invalid to valid, set unlock status can fix it. When set unlock status, will fist check current status, if unlock, do nothing. In the previous code, when check lock status, since not re-load partition table to memory, fail to find "fbmisc" partition, So just return unlock status. To fix it, when "gpt" change from invalid to valid, fisrt re-load partition table, then set unlock status. Change-Id: Iec6cfe6bf1030b986d2b839f9c81a3e048d91dcd Signed-off-by: fang hui <hui.fang@nxp.com>
Diffstat (limited to 'common/cmd_license.c')
0 files changed, 0 insertions, 0 deletions