From: Simon Glass <sjg@chromium.org>
Date: Sat, 28 Dec 2019 17:44:42 +0000 (-0700)
Subject: common: Move embedded fdt location to fdtdec.h
X-Git-Tag: v2025.01-rc5-pxa1908~2591^2~41
X-Git-Url: http://git.dujemihanovic.xyz/repo?a=commitdiff_plain;h=2e11cb086fc21cf9dee2e7280fd5696e0a14016d;p=u-boot.git

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>
---

diff --git a/include/common.h b/include/common.h
index 83c5d76597..84fd275202 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 696e0fd024..c8a143db5f 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.
  *