From: Eugen.Hristev at microchip.com Date: Mon, 25 Mar 2019 14:22:03 +0000 Subject: [U-Boot] [PATCH 08/11] Makefile.spl: Move generate AT91SAM NAND image boot.bin to spl directory In-Reply-To: <20190319155632.5680-8-sr@denx.de> References: <20190319155632.5680-1-sr@denx.de> <20190319155632.5680-8-sr@denx.de> Message-ID: <8c6db021-563f-4bbb-3ea8-d5c5be78ef03@microchip.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de On 19.03.2019 17:56, Stefan Roese wrote: > External E-Mail >=20 >=20 > This patch moves the AT91SAM NAND booting SPL image "boot.bin" which > includes the ECC values from the root directory into the spl directory, > where all SPL related images are located. Hi Stefan, Yes, indeed, but someone may be using this fact? Removing it might break=20 someone's expectations (scripts). Can we make a copy to spl/ dir and=20 leave the boot.bin in the root as-is ? Unless someone has objections of course... Eugen >=20 > Signed-off-by: Stefan Roese > Cc: Heiko Schocher > Cc: Andreas Bie=C3=9Fmann > Cc: Eugen Hristev > --- > scripts/Makefile.spl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl > index 9d5921606e..37be18da4b 100644 > --- a/scripts/Makefile.spl > +++ b/scripts/Makefile.spl > @@ -179,10 +179,10 @@ MKIMAGEFLAGS_boot.bin =3D -T atmelimage > ifeq ($(CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER),y) > MKIMAGEFLAGS_boot.bin +=3D -n $(shell $(obj)/../tools/atmel_pmecc_param= s) > =20 > -boot.bin: $(obj)/../tools/atmel_pmecc_params > +$(obj)/boot.bin: $(obj)/../tools/atmel_pmecc_params > endif > =20 > -boot.bin: $(obj)/u-boot-spl.bin FORCE > +$(obj)/boot.bin: $(obj)/u-boot-spl.bin FORCE > $(call if_changed,mkimage) > else > ifdef CONFIG_ARCH_ZYNQ > @@ -225,7 +225,7 @@ endif > endif > =20 > ifeq ($(CONFIG_SYS_SOC),"at91") > -ALL-y +=3D boot.bin > +ALL-y +=3D $(obj)/boot.bin > endif > =20 > ALL-$(CONFIG_SPL_X86_16BIT_INIT) +=3D $(obj)/u-boot-x86-16bit-spl.bin >=20