diff mbox series

[U-Boot,2/2] Makefile: Build firmware-ivt image type for HAB verification also for mx7

Message ID 20180228075150.GA35121@ubuntu
State Accepted
Commit 0004b7aa8a5edac7a17208cc5551d19b7f6f59a1
Delegated to: Stefano Babic
Headers show
Series [U-Boot,1/2] mx7_common: Fix SPL compilation with secure boot support enabled | expand

Commit Message

Eran Matityahu Feb. 28, 2018, 7:51 a.m. UTC
Create u-boot-ivt.img and u-boot-ivt.img.log when building U-Boot
with SPL and Secure Boot enabled for imx7 (like it is done for imx6).

See commit d21bd69b6e95ca7824941e7f527871cd5c63c7f7 for more info.

Signed-off-by: Eran Matityahu <eran.m@variscite.com>
---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Stefano Babic March 29, 2018, 3:57 p.m. UTC | #1
On 28/02/2018 08:51, Eran Matityahu wrote:
> Create u-boot-ivt.img and u-boot-ivt.img.log when building U-Boot
> with SPL and Secure Boot enabled for imx7 (like it is done for imx6).
> 
> See commit d21bd69b6e95ca7824941e7f527871cd5c63c7f7 for more info.
> 
> Signed-off-by: Eran Matityahu <eran.m@variscite.com>
> ---
>  Makefile | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Makefile b/Makefile
> index 57cb4b8..9650df5 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -781,8 +781,12 @@ ALL-$(CONFIG_SPL) += spl/u-boot-spl.bin
>  ifeq ($(CONFIG_MX6)$(CONFIG_SECURE_BOOT), yy)
>  ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot-ivt.img
>  else
> +ifeq ($(CONFIG_MX7)$(CONFIG_SECURE_BOOT), yy)
> +ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot-ivt.img
> +else
>  ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.img
>  endif
> +endif
>  ALL-$(CONFIG_TPL) += tpl/u-boot-tpl.bin
>  ALL-$(CONFIG_OF_SEPARATE) += u-boot.dtb
>  ifeq ($(CONFIG_SPL_FRAMEWORK),y)
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 57cb4b8..9650df5 100644
--- a/Makefile
+++ b/Makefile
@@ -781,8 +781,12 @@  ALL-$(CONFIG_SPL) += spl/u-boot-spl.bin
 ifeq ($(CONFIG_MX6)$(CONFIG_SECURE_BOOT), yy)
 ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot-ivt.img
 else
+ifeq ($(CONFIG_MX7)$(CONFIG_SECURE_BOOT), yy)
+ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot-ivt.img
+else
 ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.img
 endif
+endif
 ALL-$(CONFIG_TPL) += tpl/u-boot-tpl.bin
 ALL-$(CONFIG_OF_SEPARATE) += u-boot.dtb
 ifeq ($(CONFIG_SPL_FRAMEWORK),y)