arm: stm32mp1: deploy spl in root folder
Subsystems (3)
PATCH 1/1 arm: stm32mp1: deploy spl in root folder
Update generation of spl binaries
- continue to generate all SPL files in spl sub-directory
- copy in root folder the needed file for user (YOCTO, buildroot):
u-boot-spl.stm32
---
Hi,
This patch update http://patchwork.ozlabs.org/patch/1020706 already merged in u-boot/master.
In fact, it is my v2 proposal to avoid to change the current behavior:
I prefer to keep all the spl generation in spl directory but I agree to copy the generated file in root folder:
it can be easier for end-user.
This patch avoid to break current behavior, and current upstream effort of stm32mp1 bsp in YOCTO.
Patrick
arch/arm/mach-stm32mp/config.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
arch/arm/mach-stm32mp/config.mk +5 -2
@@ -7,7 +7,10 @@ ALL-$(CONFIG_SPL_BUILD) += u-boot-spl.stm32 MKIMAGEFLAGS_u-boot-spl.stm32 = -T stm32image -a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE) -u-boot-spl.stm32: MKIMAGEOUTPUT = u-boot-spl.stm32.log +spl/u-boot-spl.stm32: MKIMAGEOUTPUT = spl/u-boot-spl.stm32.log -u-boot-spl.stm32: spl/u-boot-spl.bin FORCE +spl/u-boot-spl.stm32: spl/u-boot-spl.bin FORCE $(call if_changed,mkimage) + +u-boot-spl.stm32 : spl/u-boot-spl.stm32 + $(call if_changed,copy)
Signature · 1 line
2.7.4
PATCH 1/1 arm: stm32mp1: deploy spl in root folder
Quoted 19 lines · Patrick Delaunay
Update generation of spl binaries
- continue to generate all SPL files in spl sub-directory
- copy in root folder the needed file for user (YOCTO, buildroot):u-boot-spl.stm32Signed-off-by Patrick Delaunay <[email protected]>---
Hi,This patch update http://patchwork.ozlabs.org/patch/1020706 already merged in u-boot/master.
In fact, it is my v2 proposal to avoid to change the current behavior:
I prefer to keep all the spl generation in spl directory but I agree to copy the generated file in root folder:
it can be easier for end-user.
Quoted 5 lines
This patch avoid to break current behavior, and current upstream effort of stm32mp1 bsp in YOCTO.
Patrick
Just ask Tom to revert the change or have him remove the commit before pushing :-)
/Sean
Quoted 8 lines · Patrick Delaunay
Update generation of spl binaries
- continue to generate all SPL files in spl sub-directory
- copy in root folder the needed file for user (YOCTO, buildroot):
u-boot-spl.stm32Signed-off-by Patrick Delaunay <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190129/f0369d5f/attachment.sig>