aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass2019-12-28 10:44:42 -0700
committerTom Rini2020-01-17 13:26:48 -0500
commit2ebebb942d76f24d316bf268564b7c62a18d7a98 (patch)
tree1842c1131164cc22cbfea4592a6c94bcfc402499
parent7c810a330aa324e9cbc182cd11f05c340d483a7f (diff)
common: Move embedded fdt location to fdtdec.h
These declarations are only used in fdtdec.c so move them to its header file. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/common.h3
-rw-r--r--include/fdtdec.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h
index 83c5d765975..84fd275202e 100644
--- a/include/common.h
+++ b/include/common.h
@@ -63,9 +63,6 @@ void hang (void) __attribute__ ((noreturn));
#include <display_options.h>
-extern u8 __dtb_dt_begin[]; /* embedded device tree blob */
-extern u8 __dtb_dt_spl_begin[]; /* embedded device tree blob for SPL/TPL */
-
/**
* arch_fixup_fdt() - Write arch-specific information to fdt
*
diff --git a/include/fdtdec.h b/include/fdtdec.h
index 696e0fd024d..c8a143db5f1 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -111,6 +111,9 @@ struct fdt_pci_addr {
u32 phys_lo;
};
+extern u8 __dtb_dt_begin[]; /* embedded device tree blob */
+extern u8 __dtb_dt_spl_begin[]; /* embedded device tree blob for SPL/TPL */
+
/**
* Compute the size of a resource.
*