]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: cros: Support a kernel on either partition
authorSimon Glass <sjg@chromium.org>
Sun, 30 Jul 2023 17:16:50 +0000 (11:16 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 11 Aug 2023 00:34:54 +0000 (18:34 -0600)
commit4cfe4510f1e6e0cf2e346f5bd9de5d5be346238d
tree548a090ea3399e53a96baaa4721c1f6b5b16ff9e
parentde30aa9a2f5659ecee599d61e1940b30c76d627c
bootstd: cros: Support a kernel on either partition

ChromiumOS allows a kernel to be on either partition 2 or 4. Add support
for scanning both and using the first one we find with a suitable
signature.

Record the partition which is used.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootmeth_cros.c