[PATCH 06/16] bootstd: cros: Simplify setup and cmdline expressions

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

Create a common base from which the other parts are offset and make all
of the offsets related to that. This makes the code a little easier to

Use X86_ prefixes for the two values which are x86-specific.

Drop OFFSET_BASE since it is available in a header field.

Drop the unnecessary 'start' variable too.

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

 boot/bootmeth_cros.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

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

More information about the U-Boot mailing list