[PATCH 00/18] Various bugfixes related to verified boot

Simon Glass sjg at chromium.org
Mon Feb 28 20:08:17 CET 2022


This series collects together various misc patches that were needed when
building mainline U-Boot against Chromium OS verified boot. Most of them
fix minor bugs.


Simon Glass (18):
  buildman: Update default config to build for sandbox
  buildman: Fix up cfgutil
  binman: Correct Chromium OS entry types
  errno: Avoid including strings in SPL
  abuf: Correct a corner case with abuf_realloc()
  fdt: Correct condition for SEPARATE_BSS
  fdt: sandbox: Avoid looking for an appended device tree
  lzma: Tidy up the function prototype
  cbfs: Add some more definititions
  cros_ec: Complete the comment for cros_ec_read_batt_charge()
  spi: Avoid checking console in SPL
  disk: Correct the conditions for SPL
  Add a default for TPL_TEXT_BASE
  Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE
  stdint: Add a definition of UINT8_MAX
  dm: core: Add a required struct declaration
  dm: core: Tidy up comments in uclass headers
  dm: blk: Expand iteration and add tests

 common/spl/Kconfig             |   1 +
 disk/Makefile                  |  10 +--
 drivers/block/blk-uclass.c     |  24 +++++++
 drivers/mtd/spi/spi-nor-core.c |   2 +-
 include/blk.h                  |  45 +++++++++++++
 include/cbfs.h                 |  43 +++++++++++++
 include/cros_ec.h              |   1 +
 include/dm/device-internal.h   |   1 +
 include/dm/uclass-internal.h   |  18 +++---
 include/dm/uclass.h            |  13 ++--
 include/errno.h                |   2 +-
 include/stdint.h               |   7 +++
 lib/abuf.c                     |   4 +-
 lib/crypto/Kconfig             |   1 +
 lib/fdtdec.c                   |   5 +-
 lib/lzma/LzmaTools.c           |   4 +-
 lib/lzma/LzmaTools.h           |  17 ++++-
 test/dm/blk.c                  | 111 +++++++++++++++++++++++++++++++++
 test/lib/abuf.c                |  29 +++++++++
 tools/binman/btool/futility.py |   4 +-
 tools/binman/etype/vblock.py   |   2 +-
 tools/buildman/bsettings.py    |   1 +
 tools/buildman/cfgutil.py      |   4 +-
 23 files changed, 315 insertions(+), 34 deletions(-)

-- 
2.35.1.574.g5d30c73bfb-goog



More information about the U-Boot mailing list