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>
This commit is contained in:
Simon Glass 2019-12-28 10:44:42 -07:00 committed by Tom Rini
parent 7c810a330a
commit 2ebebb942d
2 changed files with 3 additions and 3 deletions

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

View 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.
*