]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: am68_sk: Move to separate defconfig for AM68 SK board
authorManorit Chawdhry <m-chawdhry@ti.com>
Fri, 10 May 2024 04:50:24 +0000 (10:20 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 16 May 2024 21:00:38 +0000 (15:00 -0600)
Add defconfig for AM68 SK R5 and A72 configuration.

This includes and modifies the AM68 EVM defconfigs:
j721s2_evm_r5_defconfig -> am68_sk_r5_defconfig
j721s2_evm_a72_defconfig -> am68_sk_a72_defconfig

Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
arch/arm/dts/k3-am68-sk-base-board-u-boot.dtsi
arch/arm/dts/k3-j721s2-binman.dtsi
board/ti/j721s2/MAINTAINERS
configs/am68_sk_a72_defconfig [new file with mode: 0644]
configs/am68_sk_r5_defconfig [new file with mode: 0644]
configs/j721s2_evm_a72_defconfig
configs/j721s2_evm_r5_defconfig

index b8fc62f0dd1c32f5b6542b9c40eb9e859bdfc976..dca588485d4102ceb46378fa96c8a18efe60a5a7 100644 (file)
        dr_mode = "peripheral";
        bootph-all;
 };
+
+#ifdef CONFIG_TARGET_J721S2_A72_EVM
+
+#define SPL_AM68_SK_DTB "spl/dts/k3-am68-sk-base-board.dtb"
+#define AM68_SK_DTB "u-boot.dtb"
+
+&spl_j721s2_evm_dtb {
+       filename = SPL_AM68_SK_DTB;
+};
+
+&j721s2_evm_dtb {
+       filename = AM68_SK_DTB;
+};
+
+&spl_j721s2_evm_dtb_unsigned {
+       filename = SPL_AM68_SK_DTB;
+};
+
+&j721s2_evm_dtb_unsigned {
+       filename = AM68_SK_DTB;
+};
+
+#endif
index 7efb135bdff94266efc59b2b2d857218d9692296..c46fda66b0b25767f501360215df0ba84231a3fe 100644 (file)
 #ifdef CONFIG_TARGET_J721S2_A72_EVM
 
 #define SPL_J721S2_EVM_DTB "spl/dts/k3-j721s2-common-proc-board.dtb"
-#define SPL_AM68_SK_DTB "spl/dts/k3-am68-sk-base-board.dtb"
-
 #define J721S2_EVM_DTB "u-boot.dtb"
-#define AM68_SK_DTB "arch/arm/dts/k3-am68-sk-base-board.dtb"
 
 &binman {
        ti-dm {
                                        };
 
                                };
-
-                               fdt-1 {
-                                       description = "k3-am68-sk-base-board";
-                                       type = "flat_dt";
-                                       arch = "arm";
-                                       compression = "none";
-                                       ti-secure {
-                                               content = <&spl_am68_sk_dtb>;
-                                               keyfile = "custMpk.pem";
-                                       };
-                                       spl_am68_sk_dtb: blob-ext {
-                                               filename = SPL_AM68_SK_DTB;
-                                       };
-                               };
                        };
 
                        configurations {
                                        loadables = "tee", "dm", "spl";
                                        fdt = "fdt-0";
                                };
-
-                               conf-1 {
-                                       description = "k3-am68-sk-base-board";
-                                       firmware = "atf";
-                                       loadables = "tee", "dm", "spl";
-                                       fdt = "fdt-1";
-                               };
                        };
                };
        };
                                                algo = "crc32";
                                        };
                                };
-
-                               fdt-1 {
-                                       description = "k3-am68-sk-base-board";
-                                       type = "flat_dt";
-                                       arch = "arm";
-                                       compression = "none";
-                                       ti-secure {
-                                               content = <&am68_sk_dtb>;
-                                               keyfile = "custMpk.pem";
-                                       };
-                                       am68_sk_dtb: blob-ext {
-                                               filename = AM68_SK_DTB;
-                                       };
-
-                                       hash {
-                                               algo = "crc32";
-                                       };
-                               };
-
                        };
 
                        configurations {
                                        loadables = "uboot";
                                        fdt = "fdt-0";
                                };
-                               conf-1 {
-                                       description = "k3-am68-sk-base-board";
-                                       firmware = "uboot";
-                                       loadables = "uboot";
-                                       fdt = "fdt-1";
-                               };
-
                        };
                };
        };
                                        type = "flat_dt";
                                        arch = "arm";
                                        compression = "none";
-                                       blob {
+                                       spl_j721s2_evm_dtb_unsigned: blob {
                                                filename = SPL_J721S2_EVM_DTB;
                                        };
                                };
-                               fdt-1 {
-                                       description = "k3-am68-sk-base-board";
-                                       type = "flat_dt";
-                                       arch = "arm";
-                                       compression = "none";
-                                       blob {
-                                               filename = SPL_AM68_SK_DTB;
-                                       };
-                               };
-
                        };
 
                        configurations {
                                        loadables = "tee", "dm", "spl";
                                        fdt = "fdt-0";
                                };
-                               conf-1 {
-                                       description = "k3-am68-sk-base-board";
-                                       firmware = "atf";
-                                       loadables = "tee", "dm", "spl";
-                                       fdt = "fdt-1";
-                               };
                        };
                };
        };
                                        type = "flat_dt";
                                        arch = "arm";
                                        compression = "none";
-                                       blob {
+                                       j721s2_evm_dtb_unsigned: blob {
                                                filename = J721S2_EVM_DTB;
                                        };
                                        hash {
                                                algo = "crc32";
                                        };
                                };
-                               fdt-1 {
-                                       description = "k3-am68-sk-base-board";
-                                       type = "flat_dt";
-                                       arch = "arm";
-                                       compression = "none";
-                                       blob {
-                                               filename = AM68_SK_DTB;
-                                       };
-                                       hash {
-                                               algo = "crc32";
-                                       };
-                               };
-
                        };
 
                        configurations {
                                        loadables = "uboot";
                                        fdt = "fdt-0";
                                };
-                               conf-1 {
-                                       description = "k3-am68-sk-base-board";
-                                       firmware = "uboot";
-                                       loadables = "uboot";
-                                       fdt = "fdt-1";
-                               };
                        };
                };
        };
index 561c3dfff9bdf5904be4477856f4204d6c578a5c..6cf90014a09091ad052d598800aee862057547f0 100644 (file)
@@ -7,6 +7,8 @@ F:      doc/board/ti/j721s2_evm.rst
 F:     include/configs/j721s2_evm.h
 F:     configs/j721s2_evm_r5_defconfig
 F:     configs/j721s2_evm_a72_defconfig
+F:     configs/am68_sk_r5_defconfig
+F:     configs/am68_sk_a72_defconfig
 F:     arch/arm/dts/k3-j721s2.dtsi
 F:     arch/arm/dts/k3-j721s2-main.dtsi
 F:     arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi
diff --git a/configs/am68_sk_a72_defconfig b/configs/am68_sk_a72_defconfig
new file mode 100644 (file)
index 0000000..d477f9e
--- /dev/null
@@ -0,0 +1,10 @@
+#include <configs/j721s2_evm_a72_defconfig>
+
+CONFIG_ARM=y
+CONFIG_ARCH_K3=y
+CONFIG_SOC_K3_J721S2=y
+CONFIG_TARGET_J721S2_A72_EVM=y
+
+CONFIG_DEFAULT_DEVICE_TREE="k3-am68-sk-base-board"
+CONFIG_SPL_OF_LIST="k3-am68-sk-base-board"
+CONFIG_OF_LIST="k3-am68-sk-base-board"
diff --git a/configs/am68_sk_r5_defconfig b/configs/am68_sk_r5_defconfig
new file mode 100644 (file)
index 0000000..e9b6882
--- /dev/null
@@ -0,0 +1,10 @@
+#include <configs/j721s2_evm_r5_defconfig>
+
+CONFIG_ARM=y
+CONFIG_ARCH_K3=y
+CONFIG_SOC_K3_J721S2=y
+CONFIG_TARGET_J721S2_R5_EVM=y
+
+CONFIG_DEFAULT_DEVICE_TREE="k3-am68-sk-r5-base-board"
+CONFIG_SPL_OF_LIST="k3-am68-sk-r5-base-board"
+CONFIG_OF_LIST="k3-am68-sk-r5-base-board"
index 8b02d07a9f09a4638a8a28f07acfd39f84b85b5b..dd86b5c05092bd755a9291776ed7c6ef8c79238e 100644 (file)
@@ -84,7 +84,7 @@ CONFIG_CMD_UBI=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
-CONFIG_OF_LIST="k3-j721s2-common-proc-board k3-am68-sk-base-board"
+CONFIG_OF_LIST="k3-j721s2-common-proc-board"
 CONFIG_SPL_MULTI_DTB_FIT=y
 CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
index 5ef5247a3e00597e7e992313e100d444985d4c28..3c958cafbe8f7a4db1785891369700df6c84a986 100644 (file)
@@ -82,7 +82,7 @@ CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_SPL_MULTI_DTB_FIT=y
-CONFIG_SPL_OF_LIST="k3-j721s2-r5-common-proc-board k3-am68-sk-r5-base-board"
+CONFIG_SPL_OF_LIST="k3-j721s2-r5-common-proc-board"
 CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y