forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/arch/powerpc/platforms/44x/Kconfig
....@@ -2,7 +2,6 @@
22 config PPC_47x
33 bool "Support for 47x variant"
44 depends on 44x
5
- default n
65 select MPIC
76 help
87 This option enables support for the 47x family of processors and is
....@@ -11,19 +10,18 @@
1110 config BAMBOO
1211 bool "Bamboo"
1312 depends on 44x
14
- default n
1513 select PPC44x_SIMPLE
1614 select 440EP
17
- select PCI
15
+ select FORCE_PCI
1816 help
1917 This option enables support for the IBM PPC440EP evaluation board.
2018
2119 config BLUESTONE
2220 bool "Bluestone"
2321 depends on 44x
24
- default n
2522 select PPC44x_SIMPLE
2623 select APM821xx
24
+ select FORCE_PCI
2725 select PCI_MSI
2826 select PPC4xx_MSI
2927 select PPC4xx_PCI_EXPRESS
....@@ -36,24 +34,22 @@
3634 depends on 44x
3735 default y
3836 select 440GP
39
- select PCI
37
+ select FORCE_PCI
4038 select OF_RTC
4139 help
4240 This option enables support for the IBM PPC440GP evaluation board.
4341
4442 config SAM440EP
45
- bool "Sam440ep"
43
+ bool "Sam440ep"
4644 depends on 44x
47
- default n
48
- select 440EP
49
- select PCI
50
- help
51
- This option enables support for the ACube Sam440ep board.
45
+ select 440EP
46
+ select FORCE_PCI
47
+ help
48
+ This option enables support for the ACube Sam440ep board.
5249
5350 config SEQUOIA
5451 bool "Sequoia"
5552 depends on 44x
56
- default n
5753 select PPC44x_SIMPLE
5854 select 440EPX
5955 help
....@@ -62,10 +58,9 @@
6258 config TAISHAN
6359 bool "Taishan"
6460 depends on 44x
65
- default n
6661 select PPC44x_SIMPLE
6762 select 440GX
68
- select PCI
63
+ select FORCE_PCI
6964 help
7065 This option enables support for the AMCC PPC440GX "Taishan"
7166 evaluation board.
....@@ -73,10 +68,9 @@
7368 config KATMAI
7469 bool "Katmai"
7570 depends on 44x
76
- default n
7771 select PPC44x_SIMPLE
7872 select 440SPe
79
- select PCI
73
+ select FORCE_PCI
8074 select PPC4xx_PCI_EXPRESS
8175 select PCI_MSI
8276 select PPC4xx_MSI
....@@ -86,17 +80,15 @@
8680 config RAINIER
8781 bool "Rainier"
8882 depends on 44x
89
- default n
9083 select PPC44x_SIMPLE
9184 select 440GRX
92
- select PCI
85
+ select FORCE_PCI
9386 help
9487 This option enables support for the AMCC PPC440GRX evaluation board.
9588
9689 config WARP
9790 bool "PIKA Warp"
9891 depends on 44x
99
- default n
10092 select 440EP
10193 help
10294 This option enables support for the PIKA Warp(tm) Appliance. The Warp
....@@ -109,10 +101,9 @@
109101 config ARCHES
110102 bool "Arches"
111103 depends on 44x
112
- default n
113104 select PPC44x_SIMPLE
114105 select 460EX # Odd since it uses 460GT but the effects are the same
115
- select PCI
106
+ select FORCE_PCI
116107 select PPC4xx_PCI_EXPRESS
117108 help
118109 This option enables support for the AMCC Dual PPC460GT evaluation board.
....@@ -120,9 +111,8 @@
120111 config CANYONLANDS
121112 bool "Canyonlands"
122113 depends on 44x
123
- default n
124114 select 460EX
125
- select PCI
115
+ select FORCE_PCI
126116 select PPC4xx_PCI_EXPRESS
127117 select PCI_MSI
128118 select PPC4xx_MSI
....@@ -134,10 +124,9 @@
134124 config GLACIER
135125 bool "Glacier"
136126 depends on 44x
137
- default n
138127 select PPC44x_SIMPLE
139128 select 460EX # Odd since it uses 460GT but the effects are the same
140
- select PCI
129
+ select FORCE_PCI
141130 select PPC4xx_PCI_EXPRESS
142131 select IBM_EMAC_RGMII if IBM_EMAC
143132 select IBM_EMAC_ZMII if IBM_EMAC
....@@ -147,10 +136,9 @@
147136 config REDWOOD
148137 bool "Redwood"
149138 depends on 44x
150
- default n
151139 select PPC44x_SIMPLE
152140 select 460SX
153
- select PCI
141
+ select FORCE_PCI
154142 select PPC4xx_PCI_EXPRESS
155143 select PCI_MSI
156144 select PPC4xx_MSI
....@@ -160,10 +148,9 @@
160148 config EIGER
161149 bool "Eiger"
162150 depends on 44x
163
- default n
164151 select PPC44x_SIMPLE
165152 select 460SX
166
- select PCI
153
+ select FORCE_PCI
167154 select PPC4xx_PCI_EXPRESS
168155 select IBM_EMAC_RGMII if IBM_EMAC
169156 help
....@@ -172,18 +159,15 @@
172159 config YOSEMITE
173160 bool "Yosemite"
174161 depends on 44x
175
- default n
176162 select PPC44x_SIMPLE
177163 select 440EP
178
- select PCI
164
+ select FORCE_PCI
179165 help
180166 This option enables support for the AMCC PPC440EP evaluation board.
181167
182168 config ISS4xx
183169 bool "ISS 4xx Simulator"
184
- depends on (44x || 40x)
185
- default n
186
- select 405GP if 40x
170
+ depends on 44x
187171 select 440GP if 44x && !PPC_47x
188172 select PPC_FPU
189173 select OF_RTC
....@@ -193,9 +177,9 @@
193177 config CURRITUCK
194178 bool "IBM Currituck (476fpe) Support"
195179 depends on PPC_47x
196
- default n
197180 select SWIOTLB
198181 select 476FPE
182
+ select FORCE_PCI
199183 select PPC4xx_PCI_EXPRESS
200184 help
201185 This option enables support for the IBM Currituck (476fpe) evaluation board
....@@ -203,7 +187,6 @@
203187 config FSP2
204188 bool "IBM FSP2 (476fpe) Support"
205189 depends on PPC_47x
206
- default n
207190 select 476FPE
208191 select IBM_EMAC_EMAC4 if IBM_EMAC
209192 select IBM_EMAC_RGMII if IBM_EMAC
....@@ -215,10 +198,10 @@
215198 config AKEBONO
216199 bool "IBM Akebono (476gtr) Support"
217200 depends on PPC_47x
218
- default n
219201 select SWIOTLB
220202 select 476FPE
221203 select PPC4xx_PCI_EXPRESS
204
+ select FORCE_PCI
222205 select PCI_MSI
223206 select PPC4xx_HSTA_MSI
224207 select I2C
....@@ -241,46 +224,16 @@
241224 config ICON
242225 bool "Icon"
243226 depends on 44x
244
- default n
245227 select PPC44x_SIMPLE
246228 select 440SPe
247
- select PCI
229
+ select FORCE_PCI
248230 select PPC4xx_PCI_EXPRESS
249231 help
250232 This option enables support for the AMCC PPC440SPe evaluation board.
251233
252
-config XILINX_VIRTEX440_GENERIC_BOARD
253
- bool "Generic Xilinx Virtex 5 FXT board support"
254
- depends on 44x
255
- default n
256
- select XILINX_VIRTEX_5_FXT
257
- select XILINX_INTC
258
- help
259
- This option enables generic support for Xilinx Virtex based boards
260
- that use a 440 based processor in the Virtex 5 FXT FPGA architecture.
261
-
262
- The generic virtex board support matches any device tree which
263
- specifies 'xlnx,virtex440' in its compatible field. This includes
264
- the Xilinx ML5xx reference designs using the powerpc core.
265
-
266
- Most Virtex 5 designs should use this unless it needs to do some
267
- special configuration at board probe time.
268
-
269
-config XILINX_ML510
270
- bool "Xilinx ML510 extra support"
271
- depends on XILINX_VIRTEX440_GENERIC_BOARD
272
- select PPC_PCI_CHOICE
273
- select XILINX_PCI if PCI
274
- select PPC_INDIRECT_PCI if PCI
275
- select PPC_I8259 if PCI
276
- help
277
- This option enables extra support for features on the Xilinx ML510
278
- board. The ML510 has a PCI bus with ALI south bridge.
279
-
280234 config PPC44x_SIMPLE
281235 bool "Simple PowerPC 44x board support"
282236 depends on 44x
283
- default n
284237 help
285238 This option enables the simple PowerPC 44x platform support.
286239
....@@ -290,14 +243,6 @@
290243 select GPIOLIB
291244 help
292245 Enable gpiolib support for ppc440 based boards
293
-
294
-config PPC4xx_OCM
295
- bool "PPC4xx On Chip Memory (OCM) support"
296
- depends on 4xx
297
- select PPC_LIB_RHEAP
298
- help
299
- Enable OCM support for PowerPC 4xx platforms with on chip memory,
300
- OCM provides the fast place for memory access to improve performance.
301246
302247 # 44x specific CPU modules, selected based on the board above.
303248 config 440EP
....@@ -380,14 +325,4 @@
380325 # 44x errata/workaround config symbols, selected by the CPU models above
381326 config IBM440EP_ERR42
382327 bool
383
-
384
-# Xilinx specific config options.
385
-config XILINX_VIRTEX
386
- bool
387
- select DEFAULT_UIMAGE
388
-
389
-# Xilinx Virtex 5 FXT FPGA architecture, selected by a Xilinx board above
390
-config XILINX_VIRTEX_5_FXT
391
- bool
392
- select XILINX_VIRTEX
393328