]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mach-k3: Move K3 common schema.yaml out of board directory
authorAndrew Davis <afd@ti.com>
Wed, 22 Nov 2023 21:30:05 +0000 (15:30 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 15 Dec 2023 20:27:47 +0000 (15:27 -0500)
This file is common for all K3, move it out of board/ directory and
into mach-k3. As we need to change the path in k3-binman.dtsi let's
take this opportunity to switch to absolute paths which makes adding
non-TI boards (like Toradex Verdin) not need to override these paths.

Signed-off-by: Andrew Davis <afd@ti.com>
arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi
arch/arm/dts/k3-binman.dtsi
arch/arm/mach-k3/schema.yaml [moved from board/ti/common/schema.yaml with 100% similarity]

index 78c371529a48663a7decc48b91c531f8d920f43c..4e3704809a6c53b3586580354bb8e864072df757 100644 (file)
@@ -5,72 +5,6 @@
 
 #include "k3-binman.dtsi"
 
-#ifndef CONFIG_ARM64
-
-&bcfg_yaml {
-       schema = "../../ti/common/schema.yaml";
-};
-
-&pcfg_yaml {
-       schema = "../../ti/common/schema.yaml";
-};
-
-&rcfg_yaml {
-       schema = "../../ti/common/schema.yaml";
-};
-
-&scfg_yaml {
-       schema = "../../ti/common/schema.yaml";
-};
-
-/* combined-tifs-cfg */
-
-&bcfg_yaml_tifs {
-       schema = "../../ti/common/schema.yaml";
-};
-
-&pcfg_yaml_tifs {
-       schema = "../../ti/common/schema.yaml";
-};
-
-&rcfg_yaml_tifs {
-       schema = "../../ti/common/schema.yaml";
-};
-
-&scfg_yaml_tifs {
-       schema = "../../ti/common/schema.yaml";
-};
-
-/* combined-dm-cfg */
-
-&pcfg_yaml_dm {
-       schema = "../../ti/common/schema.yaml";
-};
-
-&rcfg_yaml_dm {
-       schema = "../../ti/common/schema.yaml";
-};
-
-/* combined-sysfw-cfg */
-
-&bcfg_yaml_sysfw {
-       schema = "../../ti/common/schema.yaml";
-};
-
-&pcfg_yaml_sysfw {
-       schema = "../../ti/common/schema.yaml";
-};
-
-&rcfg_yaml_sysfw {
-       schema = "../../ti/common/schema.yaml";
-};
-
-&scfg_yaml_sysfw {
-       schema = "../../ti/common/schema.yaml";
-};
-
-#endif /* CONFIG_ARM64 */
-
 #ifdef CONFIG_TARGET_VERDIN_AM62_R5
 
 &binman {
index c7513e1a5dd7096618898ee39d9be7af32d3ee30..cd9926a0169666593fbb9811878a6d1d4f2f975d 100644 (file)
                filename = "board-cfg.bin";
                bcfg_yaml: ti-board-config {
                        config = "board-cfg.yaml";
-                       schema = "board/ti/common/schema.yaml";
+                       schema = "arch/arm/mach-k3/schema.yaml";
                };
        };
        pm-cfg {
                filename = "pm-cfg.bin";
                pcfg_yaml: ti-board-config {
                        config = "pm-cfg.yaml";
-                       schema = "board/ti/common/schema.yaml";
+                       schema = "arch/arm/mach-k3/schema.yaml";
                };
        };
        rm-cfg {
                filename = "rm-cfg.bin";
                rcfg_yaml: ti-board-config {
                        config = "rm-cfg.yaml";
-                       schema = "board/ti/common/schema.yaml";
+                       schema = "arch/arm/mach-k3/schema.yaml";
                };
        };
        sec-cfg {
                filename = "sec-cfg.bin";
                scfg_yaml: ti-board-config {
                        config = "sec-cfg.yaml";
-                       schema = "board/ti/common/schema.yaml";
+                       schema = "arch/arm/mach-k3/schema.yaml";
                };
        };
        combined-tifs-cfg {
                ti-board-config {
                        bcfg_yaml_tifs: board-cfg {
                                config = "board-cfg.yaml";
-                               schema = "board/ti/common/schema.yaml";
+                               schema = "arch/arm/mach-k3/schema.yaml";
                        };
                        scfg_yaml_tifs: sec-cfg {
                                config = "sec-cfg.yaml";
-                               schema = "board/ti/common/schema.yaml";
+                               schema = "arch/arm/mach-k3/schema.yaml";
                        };
                        pcfg_yaml_tifs: pm-cfg {
                                config = "pm-cfg.yaml";
-                               schema = "board/ti/common/schema.yaml";
+                               schema = "arch/arm/mach-k3/schema.yaml";
                        };
                        rcfg_yaml_tifs: rm-cfg {
                                config = "rm-cfg.yaml";
-                               schema = "board/ti/common/schema.yaml";
+                               schema = "arch/arm/mach-k3/schema.yaml";
                        };
                };
        };
                ti-board-config {
                        pcfg_yaml_dm: pm-cfg {
                                config = "pm-cfg.yaml";
-                               schema = "board/ti/common/schema.yaml";
+                               schema = "arch/arm/mach-k3/schema.yaml";
                        };
                        rcfg_yaml_dm: rm-cfg {
                                config = "rm-cfg.yaml";
-                               schema = "board/ti/common/schema.yaml";
+                               schema = "arch/arm/mach-k3/schema.yaml";
                        };
                };
        };
                ti-board-config {
                        bcfg_yaml_sysfw: board-cfg {
                                config = "board-cfg.yaml";
-                               schema = "board/ti/common/schema.yaml";
+                               schema = "arch/arm/mach-k3/schema.yaml";
                        };
                        scfg_yaml_sysfw: sec-cfg {
                                config = "sec-cfg.yaml";
-                               schema = "board/ti/common/schema.yaml";
+                               schema = "arch/arm/mach-k3/schema.yaml";
                        };
                        pcfg_yaml_sysfw: pm-cfg {
                                config = "pm-cfg.yaml";
-                               schema = "board/ti/common/schema.yaml";
+                               schema = "arch/arm/mach-k3/schema.yaml";
                        };
                        rcfg_yaml_sysfw: rm-cfg {
                                config = "rm-cfg.yaml";
-                               schema = "board/ti/common/schema.yaml";
+                               schema = "arch/arm/mach-k3/schema.yaml";
                        };
                };
        };