Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: generic: Move Boston FIT image source to its own file

Move the Boston 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: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16939/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Paul Burton and committed by
Ralf Baechle
13d1ff2c 436c6a44

+23 -25
+1
arch/mips/generic/Platform
··· 14 14 all-$(CONFIG_MIPS_GENERIC) := vmlinux.gz.itb 15 15 16 16 its-y := vmlinux.its.S 17 + its-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += board-boston.its.S
+22
arch/mips/generic/board-boston.its.S
··· 1 + / { 2 + images { 3 + fdt@boston { 4 + description = "img,boston Device Tree"; 5 + data = /incbin/("boot/dts/img/boston.dtb"); 6 + type = "flat_dt"; 7 + arch = "mips"; 8 + compression = "none"; 9 + hash@0 { 10 + algo = "sha1"; 11 + }; 12 + }; 13 + }; 14 + 15 + configurations { 16 + conf@boston { 17 + description = "Boston Linux kernel"; 18 + kernel = "kernel@0"; 19 + fdt = "fdt@boston"; 20 + }; 21 + }; 22 + };
-25
arch/mips/generic/vmlinux.its.S
··· 30 30 }; 31 31 }; 32 32 33 - #ifdef CONFIG_FIT_IMAGE_FDT_BOSTON 34 - / { 35 - images { 36 - fdt@boston { 37 - description = "img,boston Device Tree"; 38 - data = /incbin/("boot/dts/img/boston.dtb"); 39 - type = "flat_dt"; 40 - arch = "mips"; 41 - compression = "none"; 42 - hash@0 { 43 - algo = "sha1"; 44 - }; 45 - }; 46 - }; 47 - 48 - configurations { 49 - conf@boston { 50 - description = "Boston Linux kernel"; 51 - kernel = "kernel@0"; 52 - fdt = "fdt@boston"; 53 - }; 54 - }; 55 - }; 56 - #endif /* CONFIG_FIT_IMAGE_FDT_BOSTON */ 57 - 58 33 #ifdef CONFIG_FIT_IMAGE_FDT_NI169445 59 34 / { 60 35 images {