xref: /openbmc/linux/arch/powerpc/platforms/40x/Kconfig (revision a72594ca)
1# SPDX-License-Identifier: GPL-2.0
2config ACADIA
3	bool "Acadia"
4	depends on 40x
5	default n
6	select PPC40x_SIMPLE
7	select 405EZ
8	help
9	  This option enables support for the AMCC 405EZ Acadia evaluation board.
10
11config EP405
12	bool "EP405/EP405PC"
13	depends on 40x
14	default n
15	select 405GP
16	select PCI
17	help
18	  This option enables support for the EP405/EP405PC boards.
19
20config HOTFOOT
21        bool "Hotfoot"
22	depends on 40x
23	default n
24	select PPC40x_SIMPLE
25	select PCI
26        help
27	 This option enables support for the ESTEEM 195E Hotfoot board.
28
29config KILAUEA
30	bool "Kilauea"
31	depends on 40x
32	default n
33	select 405EX
34	select PPC40x_SIMPLE
35	select PPC4xx_PCI_EXPRESS
36	select PCI_MSI
37	select PPC4xx_MSI
38	help
39	  This option enables support for the AMCC PPC405EX evaluation board.
40
41config MAKALU
42	bool "Makalu"
43	depends on 40x
44	default n
45	select 405EX
46	select PCI
47	select PPC4xx_PCI_EXPRESS
48	select PPC40x_SIMPLE
49	help
50	  This option enables support for the AMCC PPC405EX board.
51
52config WALNUT
53	bool "Walnut"
54	depends on 40x
55	default y
56	select 405GP
57	select PCI
58	select OF_RTC
59	help
60	  This option enables support for the IBM PPC405GP evaluation board.
61
62config XILINX_VIRTEX_GENERIC_BOARD
63	bool "Generic Xilinx Virtex board"
64	depends on 40x
65	default n
66	select XILINX_VIRTEX_II_PRO
67	select XILINX_VIRTEX_4_FX
68	select XILINX_INTC
69	help
70	  This option enables generic support for Xilinx Virtex based boards.
71
72	  The generic virtex board support matches any device tree which
73	  specifies 'xilinx,virtex' in its compatible field.  This includes
74	  the Xilinx ML3xx and ML4xx reference designs using the powerpc
75	  core.
76
77	  Most Virtex designs should use this unless it needs to do some
78	  special configuration at board probe time.
79
80config OBS600
81	bool "OpenBlockS 600"
82	depends on 40x
83	default n
84	select 405EX
85	select PPC40x_SIMPLE
86	help
87	  This option enables support for PlatHome OpenBlockS 600 server
88
89
90config PPC40x_SIMPLE
91	bool "Simple PowerPC 40x board support"
92	depends on 40x
93	default n
94	help
95	  This option enables the simple PowerPC 40x platform support.
96
97# OAK doesn't exist but wanted to keep this around for any future 403GCX boards
98config 403GCX
99	bool
100	#depends on OAK
101	select IBM405_ERR51
102
103config 405GP
104	bool
105	select IBM405_ERR77
106	select IBM405_ERR51
107	select IBM_EMAC_ZMII if IBM_EMAC
108
109config 405EX
110	bool
111	select IBM_EMAC_EMAC4 if IBM_EMAC
112	select IBM_EMAC_RGMII if IBM_EMAC
113
114config 405EZ
115	bool
116	select IBM_EMAC_NO_FLOW_CTRL if IBM_EMAC
117	select IBM_EMAC_MAL_CLR_ICINTSTAT if IBM_EMAC
118	select IBM_EMAC_MAL_COMMON_ERR if IBM_EMAC
119
120config XILINX_VIRTEX
121	bool
122	select DEFAULT_UIMAGE
123
124config XILINX_VIRTEX_II_PRO
125	bool
126	select XILINX_VIRTEX
127	select IBM405_ERR77
128	select IBM405_ERR51
129
130config XILINX_VIRTEX_4_FX
131	bool
132	select XILINX_VIRTEX
133
134config STB03xxx
135	bool
136	select IBM405_ERR77
137	select IBM405_ERR51
138
139config PPC4xx_GPIO
140	bool "PPC4xx GPIO support"
141	depends on 40x
142	select GPIOLIB
143	help
144	  Enable gpiolib support for ppc40x based boards
145
146# 40x errata/workaround config symbols, selected by the CPU models above
147
148# All 405-based cores up until the 405GPR and 405EP have this errata.
149config IBM405_ERR77
150	bool
151
152# All 40x-based cores, up until the 405GPR and 405EP have this errata.
153config IBM405_ERR51
154	bool
155
156config APM8018X
157	bool "APM8018X"
158	depends on 40x
159	default n
160	select PPC40x_SIMPLE
161	help
162	  This option enables support for the AppliedMicro APM8018X evaluation
163	  board.
164