]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arm: dts: imx8m: Require ATF BL31 blob only if not PSCI provider
authorMarek Vasut <marex@denx.de>
Thu, 22 Dec 2022 00:46:37 +0000 (01:46 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 31 Jan 2023 14:46:39 +0000 (15:46 +0100)
In case U-Boot itself if the PSCI provider on i.MX8M, do not
require the ATF BL31 blob, as at that point the blob is useless
and would interfere with U-Boot operation.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/dts/imx8mm-u-boot.dtsi
arch/arm/dts/imx8mn-u-boot.dtsi
arch/arm/dts/imx8mp-u-boot.dtsi
arch/arm/dts/imx8mq-u-boot.dtsi

index 60d49bc3d7bfde18ec79a536216cf062fd2c33dc..25dc8e12ddedf8a703ee77832ef9f52b59f18b7b 100644 (file)
@@ -99,6 +99,7 @@
                                        };
                                };
 
+#ifndef CONFIG_ARMV8_PSCI
                                atf {
                                        arch = "arm64";
                                        compression = "none";
                                                type = "atf-bl31";
                                        };
                                };
+#endif
 
                                binman_fip: fip {
                                        arch = "arm64";
                                        description = "NAME";
                                        fdt = "fdt-SEQ";
                                        firmware = "uboot";
+#ifndef CONFIG_ARMV8_PSCI
                                        loadables = "atf";
+#endif
                                };
                        };
                };
index ec53390afb30f79b0c12189af1a6fc8d13cc7c2b..d55dddbdb6e71790fe90fee95b521ab8ddfa1034 100644 (file)
                                        };
                                };
 
+#ifndef CONFIG_ARMV8_PSCI
                                atf {
                                        arch = "arm64";
                                        compression = "none";
                                                type = "atf-bl31";
                                        };
                                };
+#endif
 
                                binman_fip: fip {
                                        arch = "arm64";
                                        description = "NAME";
                                        fdt = "fdt-SEQ";
                                        firmware = "uboot";
+#ifndef CONFIG_ARMV8_PSCI
                                        loadables = "atf";
+#endif
                                };
                        };
                };
index cb9b5b649a04f857979ea1f2bedb41889b28093b..07538da621471bec1bf246332294132b78850e19 100644 (file)
                                        };
                                };
 
+#ifndef CONFIG_ARMV8_PSCI
                                atf {
                                        description = "ARM Trusted Firmware";
                                        type = "firmware";
                                                type = "atf-bl31";
                                        };
                                };
+#endif
 
                                @fdt-SEQ {
                                        description = "NAME";
                                        description = "NAME";
                                        fdt = "fdt-SEQ";
                                        firmware = "uboot";
+#ifndef CONFIG_ARMV8_PSCI
                                        loadables = "atf";
+#endif
                                };
                        };
                };
index 8d385e8da4f834b9c0c266b78fa0f8b0f7442ec8..2bc9f413da09f0f548846fbacc949bc49b6efe59 100644 (file)
                                        };
                                };
 
+#ifndef CONFIG_ARMV8_PSCI
                                atf {
                                        arch = "arm64";
                                        compression = "none";
                                                type = "blob-ext";
                                        };
                                };
+#endif
 
                                fdt {
                                        compression = "none";
                                        description = "NAME";
                                        fdt = "fdt";
                                        firmware = "uboot";
+#ifndef CONFIG_ARMV8_PSCI
                                        loadables = "atf";
+#endif
                                };
                        };
                };