summaryrefslogtreecommitdiffstats
path: root/arch/mips/generic/Kconfig
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-03-20 14:08:00 +0100
committerJames Hogan <jhogan@kernel.org>2018-03-21 23:33:10 +0000
commit6bce3deae4d51326d0f07619ab6443ba771b3fb6 (patch)
tree23fe80edbfe1cdf56dfc06b7a1c862db3456fe58 /arch/mips/generic/Kconfig
parent6b36d31a8a997248a10059e6d8a4e31b9c8310a2 (diff)
downloadop-kernel-dev-6bce3deae4d51326d0f07619ab6443ba771b3fb6.zip
op-kernel-dev-6bce3deae4d51326d0f07619ab6443ba771b3fb6.tar.gz
MIPS: generic: Add support for Microsemi Ocelot
Introduce support for the MIPS based Microsemi Ocelot SoCs. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Allan Nielsen <Allan.Nielsen@microsemi.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18858/ [jhogan@kernel.org: update ocelot_defconfig specification] Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/mips/generic/Kconfig')
-rw-r--r--arch/mips/generic/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/mips/generic/Kconfig b/arch/mips/generic/Kconfig
index 2ff3b17..ba9b2c8c 100644
--- a/arch/mips/generic/Kconfig
+++ b/arch/mips/generic/Kconfig
@@ -27,6 +27,22 @@ config LEGACY_BOARD_SEAD3
Enable this to include support for booting on MIPS SEAD-3 FPGA-based
development boards, which boot using a legacy boot protocol.
+comment "MSCC Ocelot doesn't work with SEAD3 enabled"
+ depends on LEGACY_BOARD_SEAD3
+
+config LEGACY_BOARD_OCELOT
+ bool "Support MSCC Ocelot boards"
+ depends on LEGACY_BOARD_SEAD3=n
+ select LEGACY_BOARDS
+ select MSCC_OCELOT
+
+config MSCC_OCELOT
+ bool
+ select GPIOLIB
+ select MSCC_OCELOT_IRQ
+ select SYS_HAS_EARLY_PRINTK
+ select USE_GENERIC_EARLY_PRINTK_8250
+
comment "FIT/UHI Boards"
config FIT_IMAGE_FDT_BOSTON
OpenPOWER on IntegriCloud