xref: /openbmc/linux/arch/mips/generic/Kconfig (revision cd6d421e)
1# SPDX-License-Identifier: GPL-2.0
2if MIPS_GENERIC_KERNEL
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 "Legacy support for Ocelot based boards"
35	depends on LEGACY_BOARD_SEAD3=n
36	select LEGACY_BOARDS
37	select SOC_VCOREIII
38	select SYS_HAS_EARLY_PRINTK
39	select USE_GENERIC_EARLY_PRINTK_8250
40
41config SOC_VCOREIII
42	bool
43	select GPIOLIB
44	select MSCC_OCELOT_IRQ
45	select MSCC_OCELOT #will be removed when driver no more use it
46
47#Will be removed when the driver using it will be converted to SOC_VCOREIII
48config MSCC_OCELOT
49	bool
50
51comment "FIT/UHI Boards"
52
53config FIT_IMAGE_FDT_BOSTON
54	bool "Include FDT for MIPS Boston boards"
55	help
56	  Enable this to include the FDT for the MIPS Boston development board
57	  from Imagination Technologies in the FIT kernel image. You should
58	  enable this if you wish to boot on a MIPS Boston board, as it is
59	  expected by the bootloader.
60
61config FIT_IMAGE_FDT_NI169445
62	bool "Include FDT for NI 169445"
63	help
64	  Enable this to include the FDT for the 169445 platform from
65	  National Instruments in the FIT kernel image.
66
67config FIT_IMAGE_FDT_XILFPGA
68	bool "Include FDT for Xilfpga"
69	help
70	  Enable this to include the FDT for the MIPSfpga platform
71	  from Imagination Technologies in the FIT kernel image.
72
73config FIT_IMAGE_FDT_OCELOT
74	bool "Include FDT for Microsemi Ocelot development platforms"
75	select SOC_VCOREIII
76	help
77	  Enable this to include the FDT for the Ocelot development platforms
78	  from Microsemi in the FIT kernel image.
79	  This requires u-boot on the platform.
80
81config FIT_IMAGE_FDT_LUTON
82	bool "Include FDT for Microsemi Luton development platforms"
83	select SOC_VCOREIII
84	help
85	  Enable this to include the FDT for the Luton development platforms
86	  from Microsemi in the FIT kernel image.
87	  This requires u-boot on the platform.
88
89config FIT_IMAGE_FDT_JAGUAR2
90	bool "Include FDT for Microsemi Jaguar2 development platforms"
91	select SOC_VCOREIII
92	help
93	  Enable this to include the FDT for the Jaguar2 development platforms
94	  from Microsemi in the FIT kernel image.
95	  This requires u-boot on the platform.
96
97config FIT_IMAGE_FDT_SERVAL
98	bool "Include FDT for Microsemi Serval development platforms"
99	select SOC_VCOREIII
100	help
101	  Enable this to include the FDT for the Serval development platforms
102	  from Microsemi in the FIT kernel image.
103	  This requires u-boot on the platform.
104
105config BOARD_INGENIC
106	bool "Support boards based on Ingenic SoCs"
107	select MACH_INGENIC_GENERIC
108	help
109	  Enable support for boards based on Ingenic SoCs.
110
111config VIRT_BOARD_RANCHU
112	bool "Support Ranchu platform for Android emulator"
113	help
114	  This enables support for the platform used by Android emulator.
115
116	  Ranchu platform consists of a set of virtual devices. This platform
117	  enables emulation of variety of virtual configurations while using
118	  Android emulator. Android emulator is based on Qemu, and contains
119	  the support for the same set of virtual devices.
120
121endif
122