MA-11226 [Android] Set active slot fail after flashing bootloader
authorLuo Ji <ji.luo@nxp.com>
Wed, 24 Jan 2018 11:01:24 +0000 (19:01 +0800)
committerLuo Ji <ji.luo@nxp.com>
Wed, 24 Jan 2018 11:28:41 +0000 (19:28 +0800)
commit72f00cc1f91427f08f728a2c5f3a2f4c70d4e57d
treed1d835b15eab4e1dd8776ff6eded50939bf17c17
parent1a53e025c6be73a84570a3857cb709d98e49ef96
MA-11226 [Android] Set active slot fail after flashing bootloader

Flash bootloader will switch the mmc hwpart to boot0 partition which
will cause errors when read/write blocks from user partition. Fix
this bug by switching hwpart to user partition before read/write
user partition every time.

Change-Id: I5e3405de04e22db352efa59f0286e5c5c4697ac5
Signed-off-by: Luo Ji <ji.luo@nxp.com>
lib/avb/fsl/fsl_avb.c