rockchip: Use atf as firmware and move u-boot to loadables in FIT
authorJonas Karlman <jonas@kwiboo.se>
Sat, 21 Jan 2023 19:02:26 +0000 (19:02 +0000)
committerSimon Glass <sjg@chromium.org>
Thu, 26 Jan 2023 17:47:45 +0000 (10:47 -0700)
The FIT generated after the switch to using binman is using different
values for firmware and loadables properties compared to the old script.

With the old script:
 firmware = "atf-1";
 loadables = "u-boot", "atf-2", ...;

After switch to binman:
 firmware = "u-boot";
 loadables = "atf-1", "atf-2", ...;

This change result in SPL jumping directly into U-Boot proper instead of
initializing TF-A.

With this patch the properties change back to:
 firmware = "atf-1";
 loatables = "u-boot", "atf-2", ...;

Fixes: e0c0efff2a02 ("rockchip: Support building the all output files in binman")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/rockchip-u-boot.dtsi

index e35902b..f147dc2 100644 (file)
                                @config-SEQ {
                                        description = "NAME.dtb";
                                        fdt = "fdt-SEQ";
-                                       firmware = "u-boot";
+                                       fit,firmware = "atf-1", "u-boot";
                                        fit,loadables;
                                };
                        };