summaryrefslogtreecommitdiff
path: root/examples/api/libgenwrap.c
diff options
context:
space:
mode:
authorWinter Wang <wente.wang@nxp.com>2016-07-28 20:19:00 +0800
committerWang Haoran <Haoran.Wang@freescale.com>2016-07-29 17:04:25 +0800
commit8c3ca30445906c5e99e3fd99c5b679f1d4653d53 (patch)
tree0477fdc03c7df219ed3cba11fedb8b52d819c7fb /examples/api/libgenwrap.c
parentdf1930552e1846d63c9c5a6620a16e711aabf970 (diff)
downloadu-boot-imx-8c3ca30445906c5e99e3fd99c5b679f1d4653d53.zip
u-boot-imx-8c3ca30445906c5e99e3fd99c5b679f1d4653d53.tar.gz
u-boot-imx-8c3ca30445906c5e99e3fd99c5b679f1d4653d53.tar.bz2
MA-8418 fix return value check for get_device_and_partition
if the lock/unlock partitions are not created, reboot will fail with "boota: bad boot image magic". get_device_and_partition will return negtive value if error, fix this return value check if there is no lock/unlock related partitions, or block_write in fastboot_set_lock_stat may destroy boot partition. refine code indentation. Signed-off-by: Winter Wang <wente.wang@nxp.com>
Diffstat (limited to 'examples/api/libgenwrap.c')
0 files changed, 0 insertions, 0 deletions