arm64: zynqmp: Describe images without TF-A
authorMichal Simek <michal.simek@amd.com>
Tue, 4 Feb 2025 08:53:41 +0000 (09:53 +0100)
committerMichal Simek <michal.simek@amd.com>
Wed, 5 Feb 2025 15:22:55 +0000 (16:22 +0100)
U-Boot can run out of EL3, NS-EL2 and NS-EL1. Currently default
configuration is NS-EL2 with TF-A but when TF-A is not passed and
configured images can still boot just fine. That's why support this
configuration and describe it via binman.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/9b3dad80138e97005df3d033b4611c9d7e05a177.1738659214.git.michal.simek@amd.com
arch/arm/dts/zynqmp-binman-som.dts
arch/arm/dts/zynqmp-binman.dts

index a66b948..d5b63ef 100644 (file)
                                        default = "conf-1";
                                        conf-1 {
                                                description = "Multi DTB with TF-A/TEE";
+#if CONFIG_BL31_LOAD_ADDR
                                                firmware = "atf";
                                                loadables = "tee", "uboot", "fdt";
+#else
+                                               firmware = "uboot";
+                                               loadables = "fdt";
+#endif
                                        };
                                };
                        };
index 16e1052..252c2ad 100644 (file)
                                        default = "@conf-DEFAULT-SEQ";
                                        @conf-SEQ {
                                                description = "NAME";
+#if CONFIG_BL31_LOAD_ADDR
                                                firmware = "atf";
                                                loadables = "tee", "uboot";
                                                fdt = "fdt-SEQ";
+#else
+                                               firmware = "uboot";
+                                               loadables = "fdt";
+#endif
+
                                        };
                                };
                        };