]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3: binman: am62p: add support for signing TIFSStub images
authorDhruva Gole <d-gole@ti.com>
Fri, 7 Jun 2024 08:56:41 +0000 (14:26 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jun 2024 18:59:06 +0000 (12:59 -0600)
Adds TIFS stub binaries, this is required for deepsleep functionality.

This implements the same change as commit 128f81290b7d ("arm: dts: k3:
binman: am625: add support for signing TIFSSTUB Images") did for TI AM62
SK board.

Signed-off-by: Vibhore Vardhan <vibhore@ti.com>
Signed-off-by: Dhruva Gole <d-gole@ti.com>
arch/arm/dts/k3-am62p-sk-binman.dtsi

index dea14945bf56312b7aecc0b1ceb7d424f0700d0d..210179756a79df6785269fb54fe24d3f64ff8737 100644 (file)
                        filename = "ti-dm/am62pxx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
                };
        };
+       tifsstub-hs {
+               filename = "tifsstub.bin_hs";
+               ti-secure-rom {
+                       content = <&tifsstub_hs_cert>;
+                       core = "secure";
+                       load = <0x60000>;
+                       sw-rev = <CONFIG_K3_X509_SWRV>;
+                       keyfile = "custMpk.pem";
+                       countersign;
+                       tifsstub;
+               };
+               tifsstub_hs_cert: tifsstub-hs-cert.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               tifsstub_hs_enc: tifsstub-hs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-enc.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+       };
+
+       tifsstub-fs {
+               filename = "tifsstub.bin_fs";
+               tifsstub_fs_cert: tifsstub-fs-cert.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               tifsstub_fs_enc: tifsstub-fs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-enc.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+
+       };
 
        ti-spl {
                insert-template = <&ti_spl_template>;
 
                fit {
                        images {
+                               tifsstub-hs {
+                                       description = "TIFSSTUB";
+                                       type = "firmware";
+                                       arch = "arm32";
+                                       compression = "none";
+                                       os = "tifsstub-hs";
+                                       load = <0x9ca00000>;
+                                       entry = <0x9ca00000>;
+                                       blob-ext {
+                                               filename = "tifsstub.bin_hs";
+                                       };
+                               };
+
+                               tifsstub-fs {
+                                       description = "TIFSSTUB";
+                                       type = "firmware";
+                                       arch = "arm32";
+                                       compression = "none";
+                                       os = "tifsstub-fs";
+                                       load = <0x9ca00000>;
+                                       entry = <0x9ca00000>;
+                                       blob-ext {
+                                               filename = "tifsstub.bin_fs";
+                                       };
+                               };
                                dm {
                                        ti-secure {
                                                content = <&dm>;
                                conf-0 {
                                        description = "k3-am62px-sk";
                                        firmware = "atf";
-                                       loadables = "tee", "dm", "spl";
+                                       loadables = "tee", "dm", "spl",
+                                       "tifsstub-hs", "tifsstub-fs";
                                        fdt = "fdt-0";
                                };
                        };