aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-16 20:59:33 -0700
committerTom Rini <trini@konsulko.com>2021-12-23 10:24:40 -0500
commit39605c6ec3618a848a4a1c4063d474270deab442 (patch)
tree76ee12b767057ed463c64455085f88d3e73b2e1f /include/asm-generic
parent6476c4d9818beac88610f18ff3c3cb05c7a1f33b (diff)
downloadu-boot-39605c6ec3618a848a4a1c4063d474270deab442.zip
u-boot-39605c6ec3618a848a4a1c4063d474270deab442.tar.gz
u-boot-39605c6ec3618a848a4a1c4063d474270deab442.tar.bz2
fdt: Record where the devicetree came from
Keep track of where the devicetree came from, so we can report this later. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/global_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 99daa20..104282b 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -244,6 +244,10 @@ struct global_data {
* @fdt_size: space reserved for relocated device space
*/
unsigned long fdt_size;
+ /**
+ * @fdt_src: Source of FDT
+ */
+ enum fdt_source_t fdt_src;
#if CONFIG_IS_ENABLED(OF_LIVE)
/**
* @of_root: root node of the live tree