xref: /openbmc/linux/arch/mips/generic/Kconfig (revision ba61bb17)
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
39config MSCC_OCELOT
40	bool
41	select GPIOLIB
42	select MSCC_OCELOT_IRQ
43	select SYS_HAS_EARLY_PRINTK
44	select USE_GENERIC_EARLY_PRINTK_8250
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 VIRT_BOARD_RANCHU
69	bool "Support Ranchu platform for Android emulator"
70	help
71	  This enables support for the platform used by Android emulator.
72
73	  Ranchu platform consists of a set of virtual devices. This platform
74	  enables emulation of variety of virtual configurations while using
75	  Android emulator. Android emulator is based on Qemu, and contains
76	  the support for the same set of virtual devices.
77
78endif
79