]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: cros: Simplify setup and cmdline expressions
authorSimon Glass <sjg@chromium.org>
Sun, 30 Jul 2023 17:16:52 +0000 (11:16 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 11 Aug 2023 00:34:54 +0000 (18:34 -0600)
commitc5dca50bbb07a0040197f9a6ccf5da3493736b5d
tree9387e099e0c404a3c40d309075dabece8c92b9b4
parent3257835e5640d92a22581d38a97b918a89cd3783
bootstd: cros: Simplify setup and cmdline expressions

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
read.

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@chromium.org>
boot/bootmeth_cros.c