Skip to content
Commit 71f634b8 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

bootstd: cros: Allow detection of any kernel partition



The existing ChromiumOS bootmeth only supports reading a single kernel
partition, either 2 or 4. In fact there are normally two options
available.

Use the GUID to detect kernel partitions, with the BOOTMETHF_ANY_PART
flag, so that bootstd does not require a valid filesystem before calling
the bootmeth.

Tidy up and improve the logging while we are here.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Suggested-by: default avatarAlper Nebi Yasak <alpernebiyasak@gmail.com>
[trini: Add missing select of PARTITION_TYPE_GUID]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 966b16c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment