Skip to content

Commit 39249d7

Browse files
QSchulzpaulburton
authored andcommitted
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
1 parent 116edf6 commit 39249d7

3 files changed

Lines changed: 21 additions & 4 deletions

File tree

‎arch/mips/generic/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ config FIT_IMAGE_FDT_XILFPGA
6565
Enable this to include the FDT for the MIPSfpga platform
6666
from Imagination Technologies in the FIT kernel image.
6767

68-
config FIT_IMAGE_FDT_OCELOT_PCB123
69-
bool "Include FDT for Microsemi Ocelot PCB123"
68+
config FIT_IMAGE_FDT_OCELOT
69+
bool "Include FDT for Microsemi Ocelot development platforms"
7070
select MSCC_OCELOT
7171
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
7373
from Microsemi in the FIT kernel image.
7474
This requires u-boot on the platform.
7575

‎arch/mips/generic/Platform‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ all-$(CONFIG_MIPS_GENERIC) := vmlinux.gz.itb
1616
its-y := vmlinux.its.S
1717
its-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += board-boston.its.S
1818
its-$(CONFIG_FIT_IMAGE_FDT_NI169445) += board-ni169445.its.S
19-
its-$(CONFIG_FIT_IMAGE_FDT_OCELOT_PCB123) += board-ocelot_pcb123.its.S
19+
its-$(CONFIG_FIT_IMAGE_FDT_OCELOT) += board-ocelot.its.S
2020
its-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += board-xilfpga.its.S

arch/mips/generic/board-ocelot_pcb123.its.S renamed to arch/mips/generic/board-ocelot.its.S

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@
1111
algo = "sha1";
1212
};
1313
};
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+
};
1425
};
1526

1627
configurations {
@@ -19,5 +30,11 @@
1930
kernel = "kernel@0";
2031
fdt = "fdt@ocelot_pcb123";
2132
};
33+
34+
conf@ocelot_pcb120 {
35+
description = "Ocelot Linux kernel";
36+
kernel = "kernel@0";
37+
fdt = "fdt@ocelot_pcb120";
38+
};
2239
};
2340
};

0 commit comments

Comments
 (0)