]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: avb: free partition buffer upon verify completion
authorGary Bisson <gary.bisson@boundarydevices.com>
Mon, 11 May 2020 10:11:53 +0000 (12:11 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 19 May 2020 18:01:47 +0000 (14:01 -0400)
commit3f202976af43c6ce1c1fa9f637b2f134c6adce0d
tree45efc945769f2dc390588d8adfa917540d678f2a
parent1d2ab098cbab6a74b34c71921e1bfba5a2db0ca7
cmd: avb: free partition buffer upon verify completion

Doing the same as the unittests for libavb [1].

Allows to run 'avb verify' multiple times which can be useful after a
failure to be able to re-flash the partition and try again.

[1]
https://android.googlesource.com/platform/external/avb/+/refs/tags/android-9.0.0_r37/test/avb_slot_verify_unittest.cc#156

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@gmail.com>
cmd/avb.c