From: Marek Vasut Date: Mon, 1 Mar 2021 14:36:25 +0100 Subject: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y In-Reply-To: <4d8a1d9c-ed5e-06c6-5cd9-f24a450837d8@denx.de> References: <20210201200725.49959-1-marex@denx.de> <4d8a1d9c-ed5e-06c6-5cd9-f24a450837d8@denx.de> Message-ID: <08057cd5-47fa-33f7-51d0-4583a32020e5@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 3/1/21 10:27 AM, Stefano Babic wrote: > Hi Marek, Hi, [...] >> diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile >> index 1aa26a50ad8..e6b4654cd35 100644 >> --- a/arch/arm/mach-imx/Makefile >> +++ b/arch/arm/mach-imx/Makefile >> @@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY), $^) >> $@ >> ? quiet_cmd_pad_cat = CAT???? $@ >> ? cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@ >> -u-boot-with-spl.imx: SPL u-boot.uim FORCE >> +u-boot-with-spl.imx: SPL $(if >> $(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE >> ????? $(call if_changed,pad_cat) >> -u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx u-boot.uim FORCE >> +u-boot-with-nand-spl.imx: spl/u-boot-nand-spl.imx $(if >> $(CONFIG_OF_SEPARATE),u-boot.img,u-boot.uim) FORCE >> ????? $(call if_changed,pad_cat) >> ? quiet_cmd_u-boot-nand-spl_imx = GEN???? $@ >> > > This patch breaks build for two boards, udoo and ot1200_spl. Strange > enough, I get weird results with git bisect (but definetely this is the > only patch I am applying that cause the issue). > > Could you take a look, please ? There is V3 already, does that work? [PATCH V3] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y