[PATCH 03/16] bootstd: cros: Bring in some ChromiumOS structures

Simon Glass sjg at chromium.org
Fri Aug 11 15:37:54 CEST 2023

Add a header file with structures for booting ChromiumOS, taken from the
vboot tree. Using these makes it easier to understand the code.

Note that the code style has not been updated for U-Boot, with use of
uint64_t,  __attribute__((packed)) and one comment-style nit. This should
make it easier to keep the code in sync. It was taken from commit:

   5b8596ce ("2sha256_arm: Fix data abort issue")

Update the CHROMEOS string to use the defined values.

Signed-off-by: Simon Glass <sjg at chromium.org>

 boot/bootmeth_cros.c |   6 +-
 boot/bootmeth_cros.h | 197 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 201 insertions(+), 2 deletions(-)
 create mode 100644 boot/bootmeth_cros.h

Applied to u-boot-dm/next, thanks!

More information about the U-Boot mailing list