Merge branch 'akpm' (fixes from Andrew)
[linux-2.6/cjktty.git] / arch / unicore32 / Kconfig
blob2943e3acdf0cba611bcd0fc222fbc59fb3f6602a
1 config UNICORE32
2         def_bool y
3         select HAVE_MEMBLOCK
4         select HAVE_GENERIC_DMA_COHERENT
5         select HAVE_GENERIC_HARDIRQS
6         select HAVE_DMA_ATTRS
7         select HAVE_KERNEL_GZIP
8         select HAVE_KERNEL_BZIP2
9         select GENERIC_ATOMIC64
10         select HAVE_KERNEL_LZO
11         select HAVE_KERNEL_LZMA
12         select VIRT_TO_BUS
13         select ARCH_HAVE_CUSTOM_GPIO_H
14         select GENERIC_FIND_FIRST_BIT
15         select GENERIC_IRQ_PROBE
16         select GENERIC_IRQ_SHOW
17         select ARCH_WANT_FRAME_POINTERS
18         select GENERIC_IOMAP
19         select MODULES_USE_ELF_REL
20         help
21           UniCore-32 is 32-bit Instruction Set Architecture,
22           including a series of low-power-consumption RISC chip
23           designs licensed by PKUnity Ltd.
24           Please see web page at <http://www.pkunity.com/>.
26 config GENERIC_GPIO
27         def_bool y
29 config GENERIC_CSUM
30         def_bool y
32 config NO_IOPORT
33         bool
35 config STACKTRACE_SUPPORT
36         def_bool y
38 config HAVE_LATENCYTOP_SUPPORT
39         def_bool y
41 config LOCKDEP_SUPPORT
42         def_bool y
44 config RWSEM_GENERIC_SPINLOCK
45         def_bool y
47 config RWSEM_XCHGADD_ALGORITHM
48         bool
50 config ARCH_HAS_ILOG2_U32
51         bool
53 config ARCH_HAS_ILOG2_U64
54         bool
56 config ARCH_HAS_CPUFREQ
57         bool
59 config GENERIC_HWEIGHT
60         def_bool y
62 config GENERIC_CALIBRATE_DELAY
63         def_bool y
65 config ARCH_MAY_HAVE_PC_FDC
66         bool
68 config ZONE_DMA
69         def_bool y
71 config NEED_DMA_MAP_STATE
72        def_bool y
74 source "init/Kconfig"
76 source "kernel/Kconfig.freezer"
78 menu "System Type"
80 config MMU
81         def_bool y
83 config ARCH_FPGA
84         bool
86 config ARCH_PUV3
87         def_bool y
88         select CPU_UCV2
89         select GENERIC_CLOCKEVENTS
90         select HAVE_CLK
91         select ARCH_REQUIRE_GPIOLIB
92         select ARCH_HAS_CPUFREQ
94 # CONFIGs for ARCH_PUV3
96 if ARCH_PUV3
98 choice
99         prompt "Board Selection"
100         default PUV3_DB0913
102 config PUV3_FPGA_DLX200
103         select ARCH_FPGA
104         bool "FPGA board"
106 config PUV3_DB0913
107         bool "DEBUG board (0913)"
109 config PUV3_NB0916
110         bool "NetBook board (0916)"
111         select PWM
112         select PWM_PUV3
114 config PUV3_SMW0919
115         bool "Security Mini-Workstation board (0919)"
117 endchoice
119 config PUV3_PM
120         def_bool y if !ARCH_FPGA
122 endif
124 source "arch/unicore32/mm/Kconfig"
126 comment "Floating poing support"
128 config UNICORE_FPU_F64
129         def_bool y if !ARCH_FPGA
131 endmenu
133 menu "Bus support"
135 config PCI
136         bool "PCI Support"
137         help
138           Find out whether you have a PCI motherboard. PCI is the name of a
139           bus system, i.e. the way the CPU talks to the other stuff inside
140           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
141           VESA. If you have PCI, say Y, otherwise N.
143 source "drivers/pci/Kconfig"
145 source "drivers/pcmcia/Kconfig"
147 endmenu
149 menu "Kernel Features"
151 source "kernel/Kconfig.preempt"
153 source "kernel/Kconfig.hz"
155 source "mm/Kconfig"
157 config LEDS
158         def_bool y
159         depends on GENERIC_GPIO
161 config ALIGNMENT_TRAP
162         def_bool y
163         help
164           Unicore processors can not fetch/store information which is not
165           naturally aligned on the bus, i.e., a 4 byte fetch must start at an
166           address divisible by 4. On 32-bit Unicore processors, these non-aligned
167           fetch/store instructions will be emulated in software if you say
168           here, which has a severe performance impact. This is necessary for
169           correct operation of some network protocols. With an IP-only
170           configuration it is safe to say N, otherwise say Y.
172 endmenu
174 menu "Boot options"
176 config CMDLINE
177         string "Default kernel command string"
178         default ""
180 config CMDLINE_FORCE
181         bool "Always use the default kernel command string"
182         depends on CMDLINE != ""
183         help
184           Always use the default kernel command string, even if the boot
185           loader passes other arguments to the kernel.
186           This is useful if you cannot or don't want to change the
187           command-line options your boot loader passes to the kernel.
189           If unsure, say N.
191 endmenu
193 menu "Userspace binary formats"
195 source "fs/Kconfig.binfmt"
197 endmenu
199 menu "Power management options"
201 source "kernel/power/Kconfig"
203 if ARCH_HAS_CPUFREQ
204 source "drivers/cpufreq/Kconfig"
205 endif
207 config ARCH_SUSPEND_POSSIBLE
208         def_bool y if !ARCH_FPGA
210 config ARCH_HIBERNATION_POSSIBLE
211         def_bool y if !ARCH_FPGA
213 endmenu
215 source "net/Kconfig"
217 if ARCH_PUV3
219 config PUV3_GPIO
220         bool
221         depends on !ARCH_FPGA
222         select GENERIC_GPIO
223         select GPIO_SYSFS
224         default y
226 if PUV3_NB0916
228 menu "PKUnity NetBook-0916 Features"
230 config I2C_BATTERY_BQ27200
231         tristate "I2C Battery BQ27200 Support"
232         select I2C_PUV3
233         select POWER_SUPPLY
234         select BATTERY_BQ27x00
236 config I2C_EEPROM_AT24
237         tristate "I2C EEPROMs AT24 support"
238         select I2C_PUV3
239         select EEPROM_AT24
241 config LCD_BACKLIGHT
242         tristate "LCD Backlight support"
243         select BACKLIGHT_LCD_SUPPORT
244         select BACKLIGHT_PWM
246 endmenu
248 endif
250 endif
252 source "drivers/Kconfig"
254 source "fs/Kconfig"
256 source "arch/unicore32/Kconfig.debug"
258 source "security/Kconfig"
260 source "crypto/Kconfig"
262 source "lib/Kconfig"