summaryrefslogtreecommitdiffstats
path: root/arch/mips/generic
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2020-11-10 12:45:02 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-11-12 23:31:47 +0100
commit700364dadceb8d60ca1bb6ccd3da619a36ecdcde (patch)
tree5fd107b7d7b9bf6b860407d02c0bdd7e11770186 /arch/mips/generic
parentdt-bindings: mips: Add Serval and Jaguar2 (diff)
downloadlinux-700364dadceb8d60ca1bb6ccd3da619a36ecdcde.tar.xz
linux-700364dadceb8d60ca1bb6ccd3da619a36ecdcde.zip
MIPS: mscc: Prepare configuration to handle more SoCs
Ocelot belongs to a family of SoC named the VCore III. In order to add these new Soc, use the new symbol SOC_VCOREIII instead of a one dedicated to Ocelot. In order to avoid regression on driver building, the MSCC_OCELOT configuration symbol is kept until the driver will be converted. Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/generic')
-rw-r--r--arch/mips/generic/Kconfig11
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/mips/generic/Kconfig b/arch/mips/generic/Kconfig
index 55d9aed7ced9..45431b88dded 100644
--- a/arch/mips/generic/Kconfig
+++ b/arch/mips/generic/Kconfig
@@ -34,14 +34,19 @@ config LEGACY_BOARD_OCELOT
bool "Support MSCC Ocelot boards"
depends on LEGACY_BOARD_SEAD3=n
select LEGACY_BOARDS
- select MSCC_OCELOT
+ select SOC_VCOREIII
select SYS_HAS_EARLY_PRINTK
select USE_GENERIC_EARLY_PRINTK_8250
-config MSCC_OCELOT
+config SOC_VCOREIII
bool
select GPIOLIB
select MSCC_OCELOT_IRQ
+ select MSCC_OCELOT #will be removed when driver no more use it
+
+#Will be removed when the driver using it will be converted to SOC_VCOREIII
+config MSCC_OCELOT
+ bool
comment "FIT/UHI Boards"
@@ -67,7 +72,7 @@ config FIT_IMAGE_FDT_XILFPGA
config FIT_IMAGE_FDT_OCELOT
bool "Include FDT for Microsemi Ocelot development platforms"
- select MSCC_OCELOT
+ select SOC_VCOREIII
help
Enable this to include the FDT for the Ocelot development platforms
from Microsemi in the FIT kernel image.