aboutsummaryrefslogtreecommitdiff
path: root/include/bootflow.h
diff options
context:
space:
mode:
authorShantur Rathore2023-11-19 16:55:00 +0000
committerTom Rini2023-12-09 13:16:08 -0500
commit184fc0379dd0d750d8d032fb5a147150c13547c2 (patch)
tree9e986b0060e8ada661c2984d654075bb7abe5dc4 /include/bootflow.h
parente31317e161928aadb8941cb63ce49d6faa8002f4 (diff)
bootflow: bootmeth_efi: Handle fdt not available.
While booting with efi, if fdt isn't available externally, just use the built-in one. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Shantur Rathore <i@shantur.com>
Diffstat (limited to 'include/bootflow.h')
-rw-r--r--include/bootflow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bootflow.h b/include/bootflow.h
index fede8f22a2b..42112874f64 100644
--- a/include/bootflow.h
+++ b/include/bootflow.h
@@ -45,10 +45,12 @@ enum bootflow_state_t {
* CONFIG_OF_HAS_PRIOR_STAGE is enabled
* @BOOTFLOWF_STATIC_BUF: Indicates that @bflow->buf is statically set, rather
* than being allocated by malloc().
+ * @BOOTFLOWF_USE_BUILTIN_FDT : Indicates that current bootflow uses built-in FDT
*/
enum bootflow_flags_t {
BOOTFLOWF_USE_PRIOR_FDT = 1 << 0,
BOOTFLOWF_STATIC_BUF = 1 << 1,
+ BOOTFLOWF_USE_BUILTIN_FDT = 1 << 2,
};
/**