]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: avb: rework do_avb_verify_part
authorIgor Opaniuk <igor.opaniuk@gmail.com>
Fri, 9 Feb 2024 19:20:44 +0000 (20:20 +0100)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Thu, 15 Feb 2024 09:38:34 +0000 (10:38 +0100)
commitdf3cfceeb12b389e87cd33aec860bc0dcbbb8330
tree1712b41d75b4a1a6c019ec557b9ecb197c0dc53f
parentfc7ef0f9e780ed45305002609cf920647787bc79
cmd: avb: rework do_avb_verify_part

Use existing str_avb_slot_error() function for obtaining
verification fail reason details.
Take into account device lock state for setting correct
androidboot.verifiedbootstate kernel cmdline parameter.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Link: https://lore.kernel.org/r/20240209192045.3961832-7-igor.opaniuk@foundries.io
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
cmd/avb.c