]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: imx8: apalis: switch to binman
authorOliver Graute <oliver.graute@kococonnector.com>
Fri, 4 Nov 2022 15:03:44 +0000 (16:03 +0100)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Nov 2022 16:12:32 +0000 (17:12 +0100)
Switch to use binman to pack images

Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com>
arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi
arch/arm/dts/imx8qm-u-boot.dtsi
arch/arm/mach-imx/imx8/Kconfig
configs/apalis-imx8_defconfig

index 956d7249798972c838cb01a6862192cd736df683..8fd0e33d2b6a950d4d2eb4de1010f5693fed5261 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright 2019 Toradex AG
  */
 
+#include "imx8qm-u-boot.dtsi"
+
 &mu {
        u-boot,dm-pre-proper;
 };
index f3fc90c9bb63d7e304818586be7b5724eb333c7a..3507489a813c9d870bb1b3c8208e99ca4906b439 100644 (file)
@@ -10,6 +10,7 @@
 };
 
 &binman {
+#ifdef CONFIG_SPL
        u-boot-spl-ddr {
                align = <4>;
                align-size = <4>;
@@ -33,6 +34,7 @@
                        };
                };
        };
+#endif
 
        itb {
                filename = "u-boot.itb";
index 37d12d18958668aece38c8c0d488dc48ae26704a..91bd888308ff9bc03c8fb4d553cb179a4e06e11f 100644 (file)
@@ -46,6 +46,7 @@ choice
 
 config TARGET_APALIS_IMX8
        bool "Support Apalis iMX8 module"
+       select BINMAN
        select BOARD_LATE_INIT
        select IMX8QM
 
index 6226d50c8ace35685a4aad7cda01af2692d221f5..d0e24785ae20d23331e81260b2d6f8c08e6009b8 100644 (file)
@@ -17,6 +17,7 @@ CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
 CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80200000
 CONFIG_REMAKE_ELF=y
 CONFIG_FIT=y
+CONFIG_FIT_EXTERNAL_OFFSET=0x3000
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_LOG=y