]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: j721e_sk: Move to separate defconfig for J721E SK board
authorNeha Malcom Francis <n-francis@ti.com>
Mon, 20 May 2024 09:59:15 +0000 (15:29 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jun 2024 19:58:54 +0000 (13:58 -0600)
Add defconfig for J721E SK R5 and A72 configuration.

This includes and modifies the J721E EVM defconfigs:
j721e_evm_r5_defconfig -> j721e_sk_r5_defconfig
j721e_evm_a72_defconfig -> j721e_sk_a72_defconfig

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
arch/arm/dts/k3-j721e-binman.dtsi
arch/arm/dts/k3-j721e-sk-u-boot.dtsi
board/ti/j721e/MAINTAINERS
configs/j721e_evm_a72_defconfig
configs/j721e_evm_r5_defconfig
configs/j721e_sk_a72_defconfig [new file with mode: 0644]
configs/j721e_sk_r5_defconfig [new file with mode: 0644]

index 75a6e9599b9a64f6367e5ba78889670d21005e02..2867d264664ffc675fcbcde3108218b2c6ce4115 100644 (file)
 #ifdef CONFIG_TARGET_J721E_A72_EVM
 
 #define SPL_J721E_EVM_DTB "spl/dts/k3-j721e-common-proc-board.dtb"
-#define SPL_J721E_SK_DTB "spl/dts/k3-j721e-sk.dtb"
-
 #define J721E_EVM_DTB "u-boot.dtb"
-#define J721E_SK_DTB "arch/arm/dts/k3-j721e-sk.dtb"
 
 &binman {
        ti-dm {
                                        arch = "arm";
                                        compression = "none";
                                        ti-secure {
-                                               content = <&spl_j721e_evm_dtb>;
+                                               content = <&spl_j721e_dtb>;
                                                keyfile = "custMpk.pem";
                                        };
-                                       spl_j721e_evm_dtb: blob-ext {
+                                       spl_j721e_dtb: blob-ext {
                                                filename = SPL_J721E_EVM_DTB;
                                        };
                                };
-
-                               fdt-1 {
-                                       description = "k3-j721e-sk";
-                                       type = "flat_dt";
-                                       arch = "arm";
-                                       compression = "none";
-                                       ti-secure {
-                                               content = <&spl_j721e_sk_dtb>;
-                                               keyfile = "custMpk.pem";
-
-                                       };
-                                       spl_j721e_sk_dtb: blob-ext {
-                                               filename = SPL_J721E_SK_DTB;
-                                       };
-                               };
                        };
 
                        configurations {
                                        loadables = "tee", "dm", "spl";
                                        fdt = "fdt-0";
                                };
-
-                               conf-1 {
-                                       description = "k3-j721e-sk";
-                                       firmware = "atf";
-                                       loadables = "tee", "dm", "spl";
-                                       fdt = "fdt-1";
-                               };
                        };
                };
        };
                                        arch = "arm";
                                        compression = "none";
                                        ti-secure {
-                                               content = <&j721e_evm_dtb>;
+                                               content = <&j721e_dtb>;
                                                keyfile = "custMpk.pem";
 
                                        };
-                                       j721e_evm_dtb: blob-ext {
+                                       j721e_dtb: blob-ext {
                                                filename = J721E_EVM_DTB;
                                        };
                                        hash {
                                                algo = "crc32";
                                        };
                                };
-
-                               fdt-1 {
-                                       description = "k3-j721e-sk";
-                                       type = "flat_dt";
-                                       arch = "arm";
-                                       compression = "none";
-                                       ti-secure {
-                                               content = <&j721e_sk_dtb>;
-                                               keyfile = "custMpk.pem";
-
-                                       };
-                                       j721e_sk_dtb: blob-ext {
-                                               filename = J721E_SK_DTB;
-                                       };
-                                       hash {
-                                               algo = "crc32";
-                                       };
-                               };
                        };
 
                        configurations {
                                        loadables = "uboot";
                                        fdt = "fdt-0";
                                };
-
-                               conf-1 {
-                                       description = "k3-j721e-sk";
-                                       firmware = "uboot";
-                                       loadables = "uboot";
-                                       fdt = "fdt-1";
-                               };
                        };
                };
        };
                                        type = "flat_dt";
                                        arch = "arm";
                                        compression = "none";
-                                       blob {
+                                       spl_j721e_dtb_unsigned: blob {
                                                filename = SPL_J721E_EVM_DTB;
                                        };
                                };
-
-                               fdt-1 {
-                                       description = "k3-j721e-sk";
-                                       type = "flat_dt";
-                                       arch = "arm";
-                                       compression = "none";
-                                       blob {
-                                               filename = SPL_J721E_SK_DTB;
-                                       };
-                               };
                        };
 
                        configurations {
                                        loadables = "tee", "dm", "spl";
                                        fdt = "fdt-0";
                                };
-
-                               conf-1 {
-                                       description = "k3-j721e-sk";
-                                       firmware = "atf";
-                                       loadables = "tee", "dm", "spl";
-                                       fdt = "fdt-1";
-                               };
                        };
                };
        };
                                        type = "flat_dt";
                                        arch = "arm";
                                        compression = "none";
-                                       blob {
+                                       j721e_dtb_unsigned: blob {
                                                filename = J721E_EVM_DTB;
                                        };
                                        hash {
                                                algo = "crc32";
                                        };
                                };
-
-                               fdt-1 {
-                                       description = "k3-j721e-sk";
-                                       type = "flat_dt";
-                                       arch = "arm";
-                                       compression = "none";
-                                       blob {
-                                               filename = J721E_SK_DTB;
-                                       };
-                                       hash {
-                                               algo = "crc32";
-                                       };
-                               };
                        };
 
                        configurations {
                                        loadables = "uboot";
                                        fdt = "fdt-0";
                                };
-
-                               conf-1 {
-                                       description = "k3-j721e-sk";
-                                       firmware = "uboot";
-                                       loadables = "uboot";
-                                       fdt = "fdt-1";
-                               };
                        };
                };
        };
index 8f4f944263eb6da96a31e1294af406c935648d33..6d0f7457ccd8e610789a0284d0ee77d8ad66b0f5 100644 (file)
                bootph-all;
        };
 };
+
+#ifdef CONFIG_TARGET_J721E_A72_EVM
+
+#define SPL_J721E_SK_DTB "spl/dts/k3-j721e-sk.dtb"
+#define J721E_SK_DTB "u-boot.dtb"
+
+&spl_j721e_dtb {
+       filename = SPL_J721E_SK_DTB;
+};
+
+&j721e_dtb {
+       filename = J721E_SK_DTB;
+};
+
+&spl_j721e_dtb_unsigned {
+       filename = SPL_J721E_SK_DTB;
+};
+
+&j721e_dtb_unsigned {
+       filename = J721E_SK_DTB;
+};
+
+#endif
index f5ca7d06a3472998a80ee6f1d9b3e057a56329ba..06aba53d9b0ecccfb348e6a45902bbaf895ea260 100644 (file)
@@ -5,5 +5,7 @@ F:      board/ti/j721e
 F:     include/configs/j721e_evm.h
 F:     configs/j721e_evm_r5_defconfig
 F:     configs/j721e_evm_a72_defconfig
+F:     configs/j721e_sk_r5_defconfig
+F:     configs/j721e_sk_a72_defconfig
 F:     configs/j7200_evm_r5_defconfig
 F:     configs/j7200_evm_a72_defconfig
index 3d8e939198788598adc0fce6e857782d51b0e67b..b8d7c33c45cbab07aa50d57c2555cf077b7f4d30 100644 (file)
@@ -88,7 +88,7 @@ CONFIG_MMC_SPEED_MODE_SET=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
-CONFIG_OF_LIST="k3-j721e-common-proc-board k3-j721e-sk"
+CONFIG_OF_LIST="k3-j721e-common-proc-board"
 CONFIG_MULTI_DTB_FIT=y
 CONFIG_SPL_MULTI_DTB_FIT=y
 CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
index cea48b26136c48acfcb7372cfa2a856349babcbb..37d582b77507be10df0d9f7dbd3788feb24341a8 100644 (file)
@@ -81,7 +81,7 @@ CONFIG_CMD_MTDPARTS=y
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_SPL_MULTI_DTB_FIT=y
-CONFIG_SPL_OF_LIST="k3-j721e-r5-common-proc-board k3-j721e-r5-sk"
+CONFIG_SPL_OF_LIST="k3-j721e-r5-common-proc-board"
 CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
diff --git a/configs/j721e_sk_a72_defconfig b/configs/j721e_sk_a72_defconfig
new file mode 100644 (file)
index 0000000..8907b8a
--- /dev/null
@@ -0,0 +1,9 @@
+#include <configs/j721e_evm_a72_defconfig>
+
+CONFIG_ARM=y
+CONFIG_ARCH_K3=y
+CONFIG_SOC_K3_J721E=y
+CONFIG_TARGET_J721E_A72_EVM=y
+
+CONFIG_DEFAULT_DEVICE_TREE="k3-j721e-sk"
+CONFIG_OF_LIST="k3-j721e-sk"
diff --git a/configs/j721e_sk_r5_defconfig b/configs/j721e_sk_r5_defconfig
new file mode 100644 (file)
index 0000000..b361c69
--- /dev/null
@@ -0,0 +1,10 @@
+#include <configs/j721e_evm_r5_defconfig>
+
+CONFIG_ARM=y
+CONFIG_ARCH_K3=y
+CONFIG_SOC_K3_J721E=y
+CONFIG_TARGET_J721E_R5_EVM=y
+
+CONFIG_DEFAULT_DEVICE_TREE="k3-j721e-r5-sk"
+CONFIG_SPL_OF_LIST="k3-j721e-r5-sk"
+CONFIG_OF_LIST="k3-j721e-r5-sk"