]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
common: Move embedded fdt location to fdtdec.h
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:44:42 +0000 (10:44 -0700)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:47 +0000 (23:06 +0530)
These declarations are only used in fdtdec.c so move them to its header
file.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/common.h
include/fdtdec.h

index 83c5d765975e71acd62b13235685e63649e00505..84fd275202e9e80da9b47e5c8e0684f0c4527f0b 100644 (file)
@@ -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
  *
index 696e0fd024d5d1ca972401e9aa651e30da439742..c8a143db5f161f6a789a9cc6e43ee35c30d85834 100644 (file)
@@ -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.
  *