forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/powerpc/platforms/Kconfig
....@@ -23,9 +23,8 @@
2323
2424 config KVM_GUEST
2525 bool "KVM Guest support"
26
- default n
2726 select EPAPR_PARAVIRT
28
- ---help---
27
+ help
2928 This option enables various optimizations for running under the KVM
3029 hypervisor. Overhead for the kernel when not running inside KVM should
3130 be minimal.
....@@ -34,7 +33,6 @@
3433
3534 config EPAPR_PARAVIRT
3635 bool "ePAPR para-virtualization support"
37
- default n
3836 help
3937 Enables ePAPR para-virtualization support for guests.
4038
....@@ -42,7 +40,7 @@
4240
4341 config PPC_NATIVE
4442 bool
45
- depends on 6xx || PPC64
43
+ depends on PPC_BOOK3S_32 || PPC64
4644 help
4745 Support for running natively on the hardware, i.e. without
4846 a hypervisor. This option is not user-selectable but should
....@@ -50,7 +48,7 @@
5048
5149 config PPC_OF_BOOT_TRAMPOLINE
5250 bool "Support booting from Open Firmware or yaboot"
53
- depends on 6xx || PPC64
51
+ depends on PPC_BOOK3S_32 || PPC64
5452 default y
5553 help
5654 Support from booting from Open Firmware or yaboot using an
....@@ -74,7 +72,6 @@
7472 config UDBG_RTAS_CONSOLE
7573 bool "RTAS based debug console"
7674 depends on PPC_RTAS
77
- default n
7875
7976 config PPC_SMP_MUXED_IPI
8077 bool
....@@ -86,16 +83,13 @@
8683
8784 config IPIC
8885 bool
89
- default n
9086
9187 config MPIC
9288 bool
93
- default n
9489
9590 config MPIC_TIMER
9691 bool "MPIC Global Timer"
9792 depends on MPIC && FSL_SOC
98
- default n
9993 help
10094 The MPIC global timer is a hardware timer inside the
10195 Freescale PIC complying with OpenPIC standard. When the
....@@ -107,7 +101,6 @@
107101 config FSL_MPIC_TIMER_WAKEUP
108102 tristate "Freescale MPIC global timer wakeup driver"
109103 depends on FSL_SOC && MPIC_TIMER && PM
110
- default n
111104 help
112105 The driver provides a way to wake up the system by MPIC
113106 timer.
....@@ -115,43 +108,35 @@
115108
116109 config PPC_EPAPR_HV_PIC
117110 bool
118
- default n
119111 select EPAPR_PARAVIRT
120112
121113 config MPIC_WEIRD
122114 bool
123
- default n
124115
125116 config MPIC_MSGR
126117 bool "MPIC message register support"
127118 depends on MPIC
128
- default n
129119 help
130120 Enables support for the MPIC message registers. These
131121 registers are used for inter-processor communication.
132122
133123 config PPC_I8259
134124 bool
135
- default n
136125
137126 config U3_DART
138127 bool
139128 depends on PPC64
140
- default n
141129
142130 config PPC_RTAS
143131 bool
144
- default n
145132
146133 config RTAS_ERROR_LOGGING
147134 bool
148135 depends on PPC_RTAS
149
- default n
150136
151137 config PPC_RTAS_DAEMON
152138 bool
153139 depends on PPC_RTAS
154
- default n
155140
156141 config RTAS_PROC
157142 bool "Proc interface to RTAS"
....@@ -164,11 +149,9 @@
164149
165150 config MMIO_NVRAM
166151 bool
167
- default n
168152
169153 config MPIC_U3_HT_IRQS
170154 bool
171
- default n
172155
173156 config MPIC_BROKEN_REGREAD
174157 bool
....@@ -187,15 +170,16 @@
187170
188171 config PPC_MPC106
189172 bool
190
- default n
191173
192174 config PPC_970_NAP
193175 bool
194
- default n
195176
196177 config PPC_P7_NAP
197178 bool
198
- default n
179
+
180
+config PPC_BOOK3S_IDLE
181
+ def_bool y
182
+ depends on (PPC_970_NAP || PPC_P7_NAP)
199183
200184 config PPC_INDIRECT_PIO
201185 bool
....@@ -215,23 +199,9 @@
215199
216200 endmenu
217201
218
-config PPC601_SYNC_FIX
219
- bool "Workarounds for PPC601 bugs"
220
- depends on 6xx && PPC_PMAC
221
- help
222
- Some versions of the PPC601 (the first PowerPC chip) have bugs which
223
- mean that extra synchronization instructions are required near
224
- certain instructions, typically those that make major changes to the
225
- CPU state. These extra instructions reduce performance slightly.
226
- If you say N here, these extra instructions will not be included,
227
- resulting in a kernel which will run faster but may not run at all
228
- on some systems with the PPC601 chip.
229
-
230
- If in doubt, say Y here.
231
-
232202 config TAU
233203 bool "On-chip CPU temperature sensor support"
234
- depends on 6xx
204
+ depends on PPC_BOOK3S_32
235205 help
236206 G3 and G4 processors have an on-chip temperature sensor called the
237207 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
....@@ -244,7 +214,7 @@
244214 config TAU_INT
245215 bool "Interrupt driven TAU driver (EXPERIMENTAL)"
246216 depends on TAU
247
- ---help---
217
+ help
248218 The TAU supports an interrupt driven mode which causes an interrupt
249219 whenever the temperature goes out of range. This is the fastest way
250220 to get notified the temp has exceeded a range. With this option off,
....@@ -255,7 +225,7 @@
255225 config TAU_AVERAGE
256226 bool "Average high and low temp"
257227 depends on TAU
258
- ---help---
228
+ help
259229 The TAU hardware can compare the temperature to an upper and lower
260230 bound. The default behavior is to show both the upper and lower
261231 bound in /proc/cpuinfo. If the range is large, the temperature is
....@@ -279,7 +249,7 @@
279249 bool "Enable support for the CPM2 (Communications Processor Module)"
280250 depends on (FSL_SOC_BOOKE && PPC32) || 8260
281251 select CPM
282
- select PPC_PCI_CHOICE
252
+ select HAVE_PCI
283253 select GPIOLIB
284254 help
285255 The CPM2 (Communications Processor Module) is a coprocessor on
....@@ -289,7 +259,6 @@
289259
290260 config FSL_ULI1575
291261 bool
292
- default n
293262 select GENERIC_ISA_DMA
294263 help
295264 Supports for the ULI1575 PCIe south bridge that exists on some
....@@ -317,16 +286,6 @@
317286 replacing their get_rtc_time/set_rtc_time callbacks with
318287 a proper RTC device driver.
319288
320
-config SIMPLE_GPIO
321
- bool "Support for simple, memory-mapped GPIO controllers"
322
- depends on PPC
323
- select GPIOLIB
324
- help
325
- Say Y here to support simple, memory-mapped GPIO controllers.
326
- These are usually BCSRs used to control board's switches, LEDs,
327
- chip-selects, Ethernet/USB PHY's power and various other small
328
- on-board peripherals.
329
-
330289 config MCU_MPC8349EMITX
331290 bool "MPC8349E-mITX MCU driver"
332291 depends on I2C=y && PPC_83xx
....@@ -336,9 +295,5 @@
336295 boards with the MPC8349E-mITX-compatible MCU chips. This driver will
337296 also register MCU GPIOs with the generic GPIO API, so you'll able
338297 to use MCU pins as GPIOs.
339
-
340
-config XILINX_PCI
341
- bool "Xilinx PCI host bridge support"
342
- depends on PCI && XILINX_VIRTEX
343298
344299 endmenu