summaryrefslogtreecommitdiffstats
path: root/arch/mips/generic/Kconfig
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-06-02 21:29:51 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-06-28 12:22:40 +0200
commit571b7e69f7f775c531ffaf73ae476b1e46150f41 (patch)
treebdce1bec0e658dd73d170116f1ee5216fd7e136b /arch/mips/generic/Kconfig
parentMIPS: SEAD-3: Remove GIC timer from DT (diff)
downloadlinux-571b7e69f7f775c531ffaf73ae476b1e46150f41.tar.xz
linux-571b7e69f7f775c531ffaf73ae476b1e46150f41.zip
MIPS: generic/yamon-dt: Pull YAMON DT shim code out of SEAD-3 board
In preparation for supporting other YAMON-using boards (Malta) & sharing code to translate information from YAMON into device tree properties, pull the code doing so for the kernel command line, system memory & serial configuration out of the SEAD-3 board code. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/16181/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/generic/Kconfig')
-rw-r--r--arch/mips/generic/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/generic/Kconfig b/arch/mips/generic/Kconfig
index a606b3f9196c..446b7c68133d 100644
--- a/arch/mips/generic/Kconfig
+++ b/arch/mips/generic/Kconfig
@@ -9,9 +9,17 @@ config LEGACY_BOARDS
kernel is booted without being provided with an FDT via the UHI
boot protocol.
+config YAMON_DT_SHIM
+ bool
+ help
+ Select this from your board if the board uses the YAMON bootloader
+ and you wish to include code which helps translate various
+ YAMON-provided environment variables into a device tree properties.
+
config LEGACY_BOARD_SEAD3
bool "Support MIPS SEAD-3 boards"
select LEGACY_BOARDS
+ select YAMON_DT_SHIM
help
Enable this to include support for booting on MIPS SEAD-3 FPGA-based
development boards, which boot using a legacy boot protocol.