aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@bootlin.com>2018-10-08 06:14:45 -0400
committerPaul Burton <paul.burton@mips.com>2018-10-09 13:38:29 -0400
commit39249d776ca752f84a66ea29e16534aaaba6078e (patch)
tree6cfbf8e93e4e837272550bae61f519e47f9d3d1f
parent116edf6e5239ee834ae4a8c122f319a298ef052b (diff)
MIPS: mscc: add PCB120 to the ocelot fitImage
PCB120 and PCB123 are both development boards based on Microsemi Ocelot so let's use the same fitImage for both. Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/20871/ Cc: ralf@linux-mips.org Cc: jhogan@kernel.org Cc: robh+dt@kernel.org Cc: mark.rutland@arm.com Cc: davem@davemloft.net Cc: andrew@lunn.ch Cc: f.fainelli@gmail.com Cc: allan.nielsen@microchip.com Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org Cc: thomas.petazzoni@bootlin.com Cc: antoine.tenart@bootlin.com
-rw-r--r--arch/mips/generic/Kconfig6
-rw-r--r--arch/mips/generic/Platform2
-rw-r--r--arch/mips/generic/board-ocelot.its.S (renamed from arch/mips/generic/board-ocelot_pcb123.its.S)17
3 files changed, 21 insertions, 4 deletions
diff --git a/arch/mips/generic/Kconfig b/arch/mips/generic/Kconfig
index 08e33c6b2539..fd6019802657 100644
--- a/arch/mips/generic/Kconfig
+++ b/arch/mips/generic/Kconfig
@@ -65,11 +65,11 @@ config FIT_IMAGE_FDT_XILFPGA
65 Enable this to include the FDT for the MIPSfpga platform 65 Enable this to include the FDT for the MIPSfpga platform
66 from Imagination Technologies in the FIT kernel image. 66 from Imagination Technologies in the FIT kernel image.
67 67
68config FIT_IMAGE_FDT_OCELOT_PCB123 68config FIT_IMAGE_FDT_OCELOT
69 bool "Include FDT for Microsemi Ocelot PCB123" 69 bool "Include FDT for Microsemi Ocelot development platforms"
70 select MSCC_OCELOT 70 select MSCC_OCELOT
71 help 71 help
72 Enable this to include the FDT for the Ocelot PCB123 platform 72 Enable this to include the FDT for the Ocelot development platforms
73 from Microsemi in the FIT kernel image. 73 from Microsemi in the FIT kernel image.
74 This requires u-boot on the platform. 74 This requires u-boot on the platform.
75 75
diff --git a/arch/mips/generic/Platform b/arch/mips/generic/Platform
index 879cb80396c8..eaa19d189324 100644
--- a/arch/mips/generic/Platform
+++ b/arch/mips/generic/Platform
@@ -16,5 +16,5 @@ all-$(CONFIG_MIPS_GENERIC) := vmlinux.gz.itb
16its-y := vmlinux.its.S 16its-y := vmlinux.its.S
17its-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += board-boston.its.S 17its-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += board-boston.its.S
18its-$(CONFIG_FIT_IMAGE_FDT_NI169445) += board-ni169445.its.S 18its-$(CONFIG_FIT_IMAGE_FDT_NI169445) += board-ni169445.its.S
19its-$(CONFIG_FIT_IMAGE_FDT_OCELOT_PCB123) += board-ocelot_pcb123.its.S 19its-$(CONFIG_FIT_IMAGE_FDT_OCELOT) += board-ocelot.its.S
20its-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += board-xilfpga.its.S 20its-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += board-xilfpga.its.S
diff --git a/arch/mips/generic/board-ocelot_pcb123.its.S b/arch/mips/generic/board-ocelot.its.S
index 5a7d5e1c878a..3da23988149a 100644
--- a/arch/mips/generic/board-ocelot_pcb123.its.S
+++ b/arch/mips/generic/board-ocelot.its.S
@@ -11,6 +11,17 @@
11 algo = "sha1"; 11 algo = "sha1";
12 }; 12 };
13 }; 13 };
14
15 fdt@ocelot_pcb120 {
16 description = "MSCC Ocelot PCB120 Device Tree";
17 data = /incbin/("boot/dts/mscc/ocelot_pcb120.dtb");
18 type = "flat_dt";
19 arch = "mips";
20 compression = "none";
21 hash@0 {
22 algo = "sha1";
23 };
24 };
14 }; 25 };
15 26
16 configurations { 27 configurations {
@@ -19,5 +30,11 @@
19 kernel = "kernel@0"; 30 kernel = "kernel@0";
20 fdt = "fdt@ocelot_pcb123"; 31 fdt = "fdt@ocelot_pcb123";
21 }; 32 };
33
34 conf@ocelot_pcb120 {
35 description = "Ocelot Linux kernel";
36 kernel = "kernel@0";
37 fdt = "fdt@ocelot_pcb120";
38 };
22 }; 39 };
23}; 40};