diff options
author | Simon Glass | 2023-08-24 13:55:43 -0600 |
---|---|---|
committer | Tom Rini | 2023-08-25 17:55:19 -0400 |
commit | 831405f41de122c2a3a0908f07c632c87266709a (patch) | |
tree | 1d61d9d0dd26180f02e09055a2cf52ae5f861d2d /include/bootmeth.h | |
parent | f55aa4454ac315247986aec162e064674952a7ae (diff) |
bootstd: Support bootmeths which can scan any partition
Some bootmeths support scanning a partition without a filesystem on it.
Add a flag to support this.
This will allow the ChromiumOS bootmeth to find kernel partition, which
are stored in a special format, without a filesystem.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/bootmeth.h')
-rw-r--r-- | include/bootmeth.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bootmeth.h b/include/bootmeth.h index d3d8d608cd7..0fc36104ece 100644 --- a/include/bootmeth.h +++ b/include/bootmeth.h @@ -16,9 +16,12 @@ struct udevice; * enum bootmeth_flags - Flags for bootmeths * * @BOOTMETHF_GLOBAL: bootmeth handles bootdev selection automatically + * @BOOTMETHF_ANY_PART: bootmeth is willing to check any partition, even if it + * has no filesystem */ enum bootmeth_flags { BOOTMETHF_GLOBAL = BIT(0), + BOOTMETHF_ANY_PART = BIT(1), }; /** |