[PATCH v1 0/7] AVB: cosmetic adjustments/improvements

Igor Opaniuk igor.opaniuk at foundries.io
Tue Feb 6 23:31:46 CET 2024


This patch series include:
- Simplify and add more context for debug/error prints where it's needed.
- Move SPDX license identifiers to the first line, so it conforms
  to license placement rule.
- Use mmc_switch_part() only for eMMC.
- Rework do_avb_verify_part, take into account device lock state for setting correct
  androidboot.verifiedbootstate.
- Adjust AVB documentation, add info about slot_suffix param.

Igor Opaniuk (7):
  common: avb_verify: don't call mmc_switch_part for SD
  avb: move SPDX license itdentifiers to the first line
  common: avb_verify: rework error/debug prints
  cmd: avb: rework prints
  common: avb_verify: add str_avb_io_error/str_avb_slot_error
  cmd: avb: rework do_avb_verify_part
  doc: android: avb: add slot_suffix param details

 cmd/avb.c                              | 206 ++++++++++++-------------
 common/avb_verify.c                    |  89 +++++++++--
 doc/android/avb2.rst                   |   8 +-
 include/avb_verify.h                   |   7 +-
 test/py/tests/test_android/test_avb.py |   3 +-
 5 files changed, 177 insertions(+), 136 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list