]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
environment: ti: Prefix ARM64 DTB names with directory
authorAndrew Davis <afd@ti.com>
Fri, 14 Jul 2023 05:52:30 +0000 (11:22 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 22 Jul 2023 00:35:50 +0000 (20:35 -0400)
In Linux the ARM64 DTSs are stored in vendor directories to help organize
the files and prevent naming collisions. The deployed DTBs will mirror
this and so the vendor prefix should be added to the variable used to
locate these files.

Suggested-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Reviewed-by: Nikhil M Jain <n-jain1@ti.com>
board/ti/am62ax/am62ax.env
board/ti/am62x/am62x.env
board/ti/am64x/am64x.env
board/ti/am65x/am65x.env
board/ti/j721e/j721e.env
board/ti/j721s2/j721s2.env
include/configs/am62ax_evm.h

index 8c1c26e9a249741c438da28fac9098c55883e190..95401756e20a6e045d4b07739f977866685ad67b 100644 (file)
@@ -1,7 +1,7 @@
 #include <environment/ti/ti_armv7_common.env>
 #include <environment/ti/mmc.env>
 
-default_device_tree=k3-am62a7-sk.dtb
+default_device_tree=ti/k3-am62a7-sk.dtb
 findfdt=
        setenv name_fdt ${default_device_tree};
        setenv fdtfile ${name_fdt}
index 5ac15fd240100f91196b95196b4a8b282e90c7e9..37af691991677ffa34f2b61e6f9df20a7881837b 100644 (file)
@@ -1,7 +1,7 @@
 #include <environment/ti/ti_armv7_common.env>
 #include <environment/ti/mmc.env>
 
-default_device_tree=k3-am625-sk.dtb
+default_device_tree=ti/k3-am625-sk.dtb
 findfdt=
        setenv name_fdt ${default_device_tree};
        setenv fdtfile ${name_fdt}
index 2a1a1fa53a36a6db1bcffe33bfaf3ad79eb439f7..4d27f16e8ca977a7aae3b0a557d3bfafb3323d4e 100644 (file)
@@ -4,9 +4,9 @@
 
 findfdt=
        if test $board_name = am64x_gpevm; then
-               setenv name_fdt k3-am642-evm.dtb; fi;
+               setenv name_fdt ti/k3-am642-evm.dtb; fi;
        if test $board_name = am64x_skevm; then
-               setenv name_fdt k3-am642-sk.dtb; fi;
+               setenv name_fdt ti/k3-am642-sk.dtb; fi;
        if test $name_fdt = undefined; then
                echo WARNING: Could not determine device tree to use; fi;
        setenv fdtfile ${name_fdt}
index a048b47071f8cb25f89903c55f59cf11bf9f5ff4..3c583b77fd1e17527fa8251d4901be95b33d3748 100644 (file)
@@ -6,7 +6,7 @@
 #endif
 
 findfdt=
-       setenv name_fdt k3-am654-base-board.dtb;
+       setenv name_fdt ti/k3-am654-base-board.dtb;
        setenv fdtfile ${name_fdt}
 name_kern=Image
 console=ttyS2,115200n8
index c181741ca5b3e32f9fa34d91c4bdc3cd10a7faf9..12b5610b3e47114c955edc6f18d0a205f47052a4 100644 (file)
@@ -7,15 +7,15 @@
 #include <environment/ti/k3_rproc.env>
 #endif
 
-default_device_tree=k3-j721e-common-proc-board.dtb
+default_device_tree=ti/k3-j721e-common-proc-board.dtb
 findfdt=
        setenv name_fdt ${default_device_tree};
        if test $board_name = j721e; then
-               setenv name_fdt k3-j721e-common-proc-board.dtb; fi;
+               setenv name_fdt ti/k3-j721e-common-proc-board.dtb; fi;
        if test $board_name = j7200; then
-               setenv name_fdt k3-j7200-common-proc-board.dtb; fi;
+               setenv name_fdt ti/k3-j7200-common-proc-board.dtb; fi;
        if test $board_name = j721e-eaik || test $board_name = j721e-sk; then
-               setenv name_fdt k3-j721e-sk.dtb; fi;
+               setenv name_fdt ti/k3-j721e-sk.dtb; fi;
        setenv fdtfile ${name_fdt}
 name_kern=Image
 console=ttyS2,115200n8
index f4467770e40c5317ae539a561ea84d32c29986fd..67953d3f5984fe25c27724505a159d169ad90752 100644 (file)
@@ -7,13 +7,13 @@
 #include <environment/ti/k3_rproc.env>
 #endif
 
-default_device_tree=k3-j721s2-common-proc-board.dtb
+default_device_tree=ti/k3-j721s2-common-proc-board.dtb
 findfdt=
        setenv name_fdt ${default_device_tree};
        if test $board_name = j721s2; then                      \
-               setenv name_fdt k3-j721s2-common-proc-board.dtb; fi;
+               setenv name_fdt ti/k3-j721s2-common-proc-board.dtb; fi;
        if test $board_name = am68-sk; then
-               setenv name_fdt k3-am68-sk-base-board.dtb; fi;
+               setenv name_fdt ti/k3-am68-sk-base-board.dtb; fi;
        setenv fdtfile ${name_fdt}
 name_kern=Image
 console=ttyS2,115200n8
index d8ef2509a895c17b6eaa3e39c9512eeabe09aa5b..98751f2617534a889998a4afe73d0318b5156e73 100644 (file)
@@ -21,7 +21,7 @@
 
 /* U-Boot general configuration */
 #define EXTRA_ENV_AM62A7_BOARD_SETTINGS                                        \
-       "default_device_tree=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0"      \
+       "default_device_tree=ti/k3-am62a7-sk.dtb\0"                     \
        "findfdt="                                                      \
                "setenv name_fdt ${default_device_tree};"               \
                "setenv fdtfile ${name_fdt}\0"                          \