]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx8mp: binman: rename spl and u-boot nodes
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 19 Sep 2023 09:28:47 +0000 (11:28 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 16 Oct 2023 06:46:01 +0000 (08:46 +0200)
The hab signing script doc/imx/habv4/csf_examples/mx8m/csf.sh does

  fdtget -t x u-boot.dtb /binman/imx-boot/uboot offset

to figure out the offset of u-boot.itb inside flash.bin. That works
fine for imx8mm, imx8mn, imx8mq, but fails for imx8mp because in that
case 'uboot' is merely a label and not actually the node name.

Homogenize these cases and make imx8mp the same as the other imx8m*
variants. The binman type is explicitly given and no longer derived
from the node name, and the csf.sh script will work for all four SOCs.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/dts/imx8mp-u-boot.dtsi

index 4b1a9161fd711d96621f71b9850988e18fee2897..4fadcaea509370ec5af89e873ebfec1e1460668c 100644 (file)
                filename = "flash.bin";
                pad-byte = <0x00>;
 
-               spl: blob-ext@1 {
+               spl {
                        filename = "spl.bin";
                        offset = <0x0>;
+                       type = "blob-ext";
                };
 
-               uboot: blob-ext@2 {
+               binman_uboot: uboot {
                        filename = "u-boot.itb";
                        offset = <0x58000>;
+                       type = "blob-ext";
                };
        };
 };