]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
MIPS: generic: Move NI 169445 FIT image source to its own file
authorPaul Burton <paul.burton@imgtec.com>
Mon, 7 Aug 2017 22:37:23 +0000 (15:37 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Aug 2017 13:21:52 +0000 (15:21 +0200)
Move the NI 169445 board flattened image tree source into its own file
which is concatenated into the final image tree source used to build the
flattened image tree. Separating boards into different files will help
us to avoid conflicts as boards are added.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Nathan Sullivan <nathan.sullivan@ni.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16940/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/generic/Platform
arch/mips/generic/board-ni169445.its.S [new file with mode: 0644]
arch/mips/generic/vmlinux.its.S

index 50c8ad58b5f15728c0177abb7fa6d60bf6816066..f5312dfa81840e3506806c9f4912c9ebd325267d 100644 (file)
@@ -15,3 +15,4 @@ all-$(CONFIG_MIPS_GENERIC)    := vmlinux.gz.itb
 
 its-y                                  := vmlinux.its.S
 its-$(CONFIG_FIT_IMAGE_FDT_BOSTON)     += board-boston.its.S
+its-$(CONFIG_FIT_IMAGE_FDT_NI169445)   += board-ni169445.its.S
diff --git a/arch/mips/generic/board-ni169445.its.S b/arch/mips/generic/board-ni169445.its.S
new file mode 100644 (file)
index 0000000..d12e12f
--- /dev/null
@@ -0,0 +1,22 @@
+{
+       images {
+               fdt@ni169445 {
+                       description = "NI 169445 device tree";
+                       data = /incbin/("boot/dts/ni/169445.dtb");
+                       type = "flat_dt";
+                       arch = "mips";
+                       compression = "none";
+                       hash@0 {
+                               algo = "sha1";
+                       };
+               };
+       };
+
+       configurations {
+               conf@ni169445 {
+                       description = "NI 169445 Linux Kernel";
+                       kernel = "kernel@0";
+                       fdt = "fdt@ni169445";
+               };
+       };
+};
index 811a5c7eb3eef08125a836a10fb2d51cfc0b2e59..f67fbf1c85417cc2e2bb07abec86d84b466b8196 100644 (file)
                };
        };
 };
-
-#ifdef CONFIG_FIT_IMAGE_FDT_NI169445
-/ {
-       images {
-               fdt@ni169445 {
-                       description = "NI 169445 device tree";
-                       data = /incbin/("boot/dts/ni/169445.dtb");
-                       type = "flat_dt";
-                       arch = "mips";
-                       compression = "none";
-                       hash@0 {
-                               algo = "sha1";
-                       };
-               };
-       };
-
-       configurations {
-               conf@ni169445 {
-                       description = "NI 169445 Linux Kernel";
-                       kernel = "kernel@0";
-                       fdt = "fdt@ni169445";
-               };
-       };
-};
-#endif /* CONFIG_FIT_IMAGE_FDT_NI169445 */