From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Mon, 10 Feb 2020 18:10:29 +0100 Subject: [PATCH v3 12/20] mips: enable support for appending dtb to spl binary In-Reply-To: <1579594753-7154-1-git-send-email-weijie.gao@mediatek.com> References: <1579594753-7154-1-git-send-email-weijie.gao@mediatek.com> Message-ID: <3691998e-fb2e-5bd1-3b63-8397fe93d628@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 21.01.20 um 09:19 schrieb Weijie Gao: > If CONFIG_SPL_OF_CONTROL is enabled for SPL and CONFIG_OF_SEPARATE is also > enabled, the dtb will be appended to the u-boot-spl.bin. > > When calling dm_init_and_scan() in SPL, fdtdec_setup() will try to locate > dtb at the end of u-boot-spl.bin, by referencing to _image_binary_end. > > However _image_binary_end is currently missing in u-boot-spl.lds. > This patch adds _image_binary_end to u-boot-spl.lds to make sure linking > u-boot-spl will not fail. > > Reviewed-by: Daniel Schwierzeck > Signed-off-by: Weijie Gao > --- > Changes since v2: none > --- > arch/mips/cpu/u-boot-spl.lds | 2 ++ > 1 file changed, 2 insertions(+) > applied to u-boot-mips, thanks. -- - Daniel