[PATCH 02/16] bootstd: cros: Move partition reading into a function

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

Move the code which reads a partition into its own function. Add a
constant for the number of bytes to 'probe' at the start of the partition.

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

 boot/bootmeth_cros.c | 66 +++++++++++++++++++++++++++++++++-----------
 1 file changed, 50 insertions(+), 16 deletions(-)

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

More information about the U-Boot mailing list