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