forked from Minki/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>
This commit is contained in:
parent
436c6a4452
commit
13d1ff2c85
@ -14,3 +14,4 @@ load-$(CONFIG_MIPS_GENERIC) += 0xffffffff80100000
|
||||
all-$(CONFIG_MIPS_GENERIC) := vmlinux.gz.itb
|
||||
|
||||
its-y := vmlinux.its.S
|
||||
its-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += board-boston.its.S
|
||||
|
22
arch/mips/generic/board-boston.its.S
Normal file
22
arch/mips/generic/board-boston.its.S
Normal file
@ -0,0 +1,22 @@
|
||||
/ {
|
||||
images {
|
||||
fdt@boston {
|
||||
description = "img,boston Device Tree";
|
||||
data = /incbin/("boot/dts/img/boston.dtb");
|
||||
type = "flat_dt";
|
||||
arch = "mips";
|
||||
compression = "none";
|
||||
hash@0 {
|
||||
algo = "sha1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
conf@boston {
|
||||
description = "Boston Linux kernel";
|
||||
kernel = "kernel@0";
|
||||
fdt = "fdt@boston";
|
||||
};
|
||||
};
|
||||
};
|
@ -30,31 +30,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
#ifdef CONFIG_FIT_IMAGE_FDT_BOSTON
|
||||
/ {
|
||||
images {
|
||||
fdt@boston {
|
||||
description = "img,boston Device Tree";
|
||||
data = /incbin/("boot/dts/img/boston.dtb");
|
||||
type = "flat_dt";
|
||||
arch = "mips";
|
||||
compression = "none";
|
||||
hash@0 {
|
||||
algo = "sha1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
conf@boston {
|
||||
description = "Boston Linux kernel";
|
||||
kernel = "kernel@0";
|
||||
fdt = "fdt@boston";
|
||||
};
|
||||
};
|
||||
};
|
||||
#endif /* CONFIG_FIT_IMAGE_FDT_BOSTON */
|
||||
|
||||
#ifdef CONFIG_FIT_IMAGE_FDT_NI169445
|
||||
/ {
|
||||
images {
|
||||
|
Loading…
Reference in New Issue
Block a user