diff options
author | Haoran Wang <Haoran.Wang@freescale.com> | 2016-07-25 11:56:23 +0800 |
---|---|---|
committer | Haoran Wang <Haoran.Wang@freescale.com> | 2016-07-25 15:08:00 +0800 |
commit | df1930552e1846d63c9c5a6620a16e711aabf970 (patch) | |
tree | 76f33f5b770778c824db23bd717335a9f38a1fad /examples/api/libgenwrap.c | |
parent | beeab4a5ffadae3ebd2342de1767705ae80fffd0 (diff) | |
download | u-boot-imx-df1930552e1846d63c9c5a6620a16e711aabf970.zip u-boot-imx-df1930552e1846d63c9c5a6620a16e711aabf970.tar.gz u-boot-imx-df1930552e1846d63c9c5a6620a16e711aabf970.tar.bz2 |
MA-8425 fastboot: return OKAY in fastboot erase
fastboot host end will erase the ext4 partition before
flash them. This is enable into fastboot when it can
get ext4 partition by "getvar partition-type".
Because by default "fastboot erase" will get FAIL
result so the "fastboot flash" process will be end
by the failure.
As "fastboot flash" will overwrite the partition so we
don't need to erase partition. Return OKAY will let
the "fastboot flash" continue.
This patch also refined fastboot lock/unlock codes.
Signed-off-by: Haoran Wang <Haoran.Wang@freescale.com>
Diffstat (limited to 'examples/api/libgenwrap.c')
0 files changed, 0 insertions, 0 deletions