xref: /openbmc/linux/arch/mips/generic/Kconfig (revision d2912cb1)
1# SPDX-License-Identifier: GPL-2.0
2if MIPS_GENERIC
3
4config LEGACY_BOARDS
5	bool
6	help
7	  Select this from your board if the board must use a legacy, non-UHI,
8	  boot protocol. This will cause the kernel to scan through the list of
9	  supported machines calling their detect functions in turn if the
10	  kernel is booted without being provided with an FDT via the UHI
11	  boot protocol.
12
13config YAMON_DT_SHIM
14	bool
15	help
16	  Select this from your board if the board uses the YAMON bootloader
17	  and you wish to include code which helps translate various
18	  YAMON-provided environment variables into a device tree properties.
19
20comment "Legacy (non-UHI/non-FIT) Boards"
21
22config LEGACY_BOARD_SEAD3
23	bool "Support MIPS SEAD-3 boards"
24	select LEGACY_BOARDS
25	select YAMON_DT_SHIM
26	help
27	  Enable this to include support for booting on MIPS SEAD-3 FPGA-based
28	  development boards, which boot using a legacy boot protocol.
29
30comment "MSCC Ocelot doesn't work with SEAD3 enabled"
31	depends on LEGACY_BOARD_SEAD3
32
33config LEGACY_BOARD_OCELOT
34	bool "Support MSCC Ocelot boards"
35	depends on LEGACY_BOARD_SEAD3=n
36	select LEGACY_BOARDS
37	select MSCC_OCELOT
38	select SYS_HAS_EARLY_PRINTK
39	select USE_GENERIC_EARLY_PRINTK_8250
40
41config MSCC_OCELOT
42	bool
43	select GPIOLIB
44	select MSCC_OCELOT_IRQ
45
46comment "FIT/UHI Boards"
47
48config FIT_IMAGE_FDT_BOSTON
49	bool "Include FDT for MIPS Boston boards"
50	help
51	  Enable this to include the FDT for the MIPS Boston development board
52	  from Imagination Technologies in the FIT kernel image. You should
53	  enable this if you wish to boot on a MIPS Boston board, as it is
54	  expected by the bootloader.
55
56config FIT_IMAGE_FDT_NI169445
57	bool "Include FDT for NI 169445"
58	help
59	  Enable this to include the FDT for the 169445 platform from
60	  National Instruments in the FIT kernel image.
61
62config FIT_IMAGE_FDT_XILFPGA
63	bool "Include FDT for Xilfpga"
64	help
65	  Enable this to include the FDT for the MIPSfpga platform
66	  from Imagination Technologies in the FIT kernel image.
67
68config FIT_IMAGE_FDT_OCELOT
69	bool "Include FDT for Microsemi Ocelot development platforms"
70	select MSCC_OCELOT
71	help
72	  Enable this to include the FDT for the Ocelot development platforms
73	  from Microsemi in the FIT kernel image.
74	  This requires u-boot on the platform.
75
76config VIRT_BOARD_RANCHU
77	bool "Support Ranchu platform for Android emulator"
78	help
79	  This enables support for the platform used by Android emulator.
80
81	  Ranchu platform consists of a set of virtual devices. This platform
82	  enables emulation of variety of virtual configurations while using
83	  Android emulator. Android emulator is based on Qemu, and contains
84	  the support for the same set of virtual devices.
85
86endif
87