From: Simon Glass Date: Wed, 11 Dec 2019 17:47:24 -0700 Subject: [PATCH 05/35] common: Move embedded fdt location to fdtdec.h In-Reply-To: <20191212004755.11091-2-sjg@chromium.org> References: <20191212004755.11091-2-sjg@chromium.org> Message-ID: <20191212004755.11091-5-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de These declarations are only used in fdtdec.c so move them to its header file. Signed-off-by: Simon Glass --- include/common.h | 3 --- include/fdtdec.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/common.h b/include/common.h index 4f3536f299..fe10f06819 100644 --- a/include/common.h +++ b/include/common.h @@ -64,9 +64,6 @@ void hang (void) __attribute__ ((noreturn)); #include -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. * -- 2.24.0.525.g8f36a354ae-goog