mbox series

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

Message ID 20240206223153.3060433-1-igor.opaniuk@foundries.io
Headers show
Series AVB: cosmetic adjustments/improvements | expand

Message

Igor Opaniuk Feb. 6, 2024, 10:31 p.m. UTC
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(-)