]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-j721e-binman: Add support for HSFS1.1
authorNeha Malcom Francis <n-francis@ti.com>
Thu, 25 Apr 2024 22:06:58 +0000 (03:36 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 10 May 2024 16:42:54 +0000 (10:42 -0600)
J721E has SR1.1 and SR2.0 having three variants of each GP, HS-FS and
HS-SE. Current build does not generate HS-FS SR1.1 so add support for
them.

Reported-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
arch/arm/dts/k3-j721e-binman.dtsi

index 75a6e9599b9a64f6367e5ba78889670d21005e02..1514d897634a6f5995d5e39309ee7174f0ed2f20 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
+ * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/
  */
 
 #include "k3-binman.dtsi"
        };
 };
 
+&binman {
+       tiboot3-j721e_sr1_1-hs-fs-evm.bin {
+               filename = "tiboot3-j721e_sr1_1-hs-fs-evm.bin";
+               ti-secure-rom {
+                       content = <&u_boot_spl_fs_sr1_1>;
+                       core = "public";
+                       core-opts = <2>;
+                       load = <CONFIG_SPL_TEXT_BASE>;
+                       keyfile = "custMpk.pem";
+               };
+               u_boot_spl_fs_sr1_1: u-boot-spl {
+                       no-expanded;
+               };
+       };
+       sysfw_fs_sr1_1 {
+               filename = "sysfw.bin_fs_sr1_1";
+               ti-fs-cert-fs.bin {
+                       filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-fs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               ti-fs-firmware-j721e-hs-fs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-fs-enc.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+       };
+       itb_fs_sr1_1 {
+               filename = "sysfw-j721e_sr1_1-hs-fs-evm.itb";
+               fit {
+                       description = "SYSFW and Config fragments";
+                       #address-cells = <1>;
+                       images {
+                               sysfw.bin {
+                                       description = "sysfw";
+                                       type = "firmware";
+                                       arch = "arm";
+                                       compression = "none";
+                                       blob-ext {
+                                           filename = "sysfw.bin_fs_sr1_1";
+                                       };
+                               };
+                               board-cfg.bin {
+                                       description = "board-cfg";
+                                       type = "firmware";
+                                       arch = "arm";
+                                       compression = "none";
+                                       board-cfg {
+                                               filename = "board-cfg.bin";
+                                               type = "blob-ext";
+                                       };
+
+                               };
+                               pm-cfg.bin {
+                                       description = "pm-cfg";
+                                       type = "firmware";
+                                       arch = "arm";
+                                       compression = "none";
+                                       pm-cfg {
+                                               filename = "pm-cfg.bin";
+                                               type = "blob-ext";
+                                       };
+                               };
+                               rm-cfg.bin {
+                                       description = "rm-cfg";
+                                       type = "firmware";
+                                       arch = "arm";
+                                       compression = "none";
+                                       rm-cfg {
+                                               filename = "rm-cfg.bin";
+                                               type = "blob-ext";
+                                       };
+                               };
+                               sec-cfg.bin {
+                                       description = "sec-cfg";
+                                       type = "firmware";
+                                       arch = "arm";
+                                       compression = "none";
+                                       sec-cfg {
+                                               filename = "sec-cfg.bin";
+                                               type = "blob-ext";
+                                       };
+                               };
+                       };
+               };
+       };
+};
+
 &binman {
        tiboot3-j721e_sr2-hs-fs-evm.bin {
                filename = "tiboot3-j721e_sr2-hs-fs-evm.bin";