hexagon: Remove select of not longer existing Kconfig switches
[firefly-linux-kernel-4.4.55.git] / arch / hexagon / Kconfig
1 # Hexagon configuration
2 comment "Linux Kernel Configuration for Hexagon"
3
4 config HEXAGON
5         def_bool y
6         select HAVE_OPROFILE
7         select USE_GENERIC_SMP_HELPERS if SMP
8         # Other pending projects/to-do items.
9         # select HAVE_REGS_AND_STACK_ACCESS_API
10         # select HAVE_HW_BREAKPOINT if PERF_EVENTS
11         # select ARCH_HAS_CPU_IDLE_WAIT
12         # select ARCH_WANT_OPTIONAL_GPIOLIB
13         # select ARCH_REQUIRE_GPIOLIB
14         # select HAVE_CLK
15         # select IRQ_PER_CPU
16         select HAVE_IRQ_WORK
17         # select GENERIC_PENDING_IRQ if SMP
18         select GENERIC_ATOMIC64
19         select HAVE_PERF_EVENTS
20         select HAVE_GENERIC_HARDIRQS
21         # GENERIC_ALLOCATOR is used by dma_alloc_coherent()
22         select GENERIC_ALLOCATOR
23         select GENERIC_IRQ_SHOW
24         select HAVE_ARCH_KGDB
25         select HAVE_ARCH_TRACEHOOK
26         select NO_IOPORT
27         select GENERIC_IOMAP
28         # mostly generic routines, with some accelerated ones
29         ---help---
30           Qualcomm Hexagon is a processor architecture designed for high
31           performance and low power across a wide variety of applications.
32
33 config HEXAGON_ARCH_V1
34         bool
35
36 config HEXAGON_ARCH_V2
37         bool
38
39 config HEXAGON_ARCH_V3
40         bool
41
42 config HEXAGON_ARCH_V4
43         bool
44
45 config FRAME_POINTER
46         def_bool y
47
48 config LOCKDEP_SUPPORT
49         def_bool y
50
51 config PCI
52         def_bool n
53
54 config EARLY_PRINTK
55         def_bool y
56
57 config KTIME_SCALAR
58         def_bool y
59
60 config MMU
61         def_bool y
62
63 config TRACE_IRQFLAGS_SUPPORT
64         def_bool y
65
66 config GENERIC_CSUM
67         def_bool y
68
69 #
70 # Use the generic interrupt handling code in kernel/irq/:
71 #
72 config GENERIC_IRQ_PROBE
73         def_bool y
74
75 #config ZONE_DMA
76 #       bool
77 #       default y
78
79 config HAS_DMA
80         bool
81         select HAVE_DMA_ATTRS
82         default y
83
84 config NEED_SG_DMA_LENGTH
85         def_bool y
86
87 config RWSEM_GENERIC_SPINLOCK
88         def_bool n
89
90 config RWSEM_XCHGADD_ALGORITHM
91         def_bool y
92
93 config GENERIC_FIND_NEXT_BIT
94         def_bool y
95
96 config GENERIC_HWEIGHT
97         def_bool y
98
99 config GENERIC_TIME
100         def_bool y
101
102 config GENERIC_CLOCKEVENTS
103         def_bool y
104
105 config GENERIC_CLOCKEVENTS_BROADCAST
106         def_bool y
107
108 config STACKTRACE_SUPPORT
109         def_bool y
110         select STACKTRACE
111
112 config GENERIC_BUG
113         def_bool y
114         depends on BUG
115
116 config BUG
117         def_bool y
118
119 menu "Machine selection"
120
121 choice
122         prompt "System type"
123         default HEXAGON_ARCH_V2
124
125 config HEXAGON_COMET
126         bool "Comet Board"
127         select HEXAGON_ARCH_V2
128         ---help---
129           Support for the Comet platform.
130
131 endchoice
132
133 config HEXAGON_VM
134         def_bool y
135
136 config CMDLINE
137         string "Default kernel command string"
138         default ""
139         help
140           On some platforms, there is currently no way for the boot loader
141           to pass arguments to the kernel. For these, you should supply some
142           command-line options at build time by entering them here.  At a
143           minimum, you should specify the memory size and the root device
144           (e.g., mem=64M root=/dev/nfs).
145
146 config HEXAGON_ANGEL_TRAPS
147         bool "Use Angel Traps"
148         default n
149         ---help---
150           Enable angel debug traps (for printk's).
151
152 config SMP
153         bool "Multi-Processing support"
154         ---help---
155           Enables SMP support in the kernel.  If unsure, say "Y"
156
157 config NR_CPUS
158         int "Maximum number of CPUs" if SMP
159         range 2 6 if SMP
160         default "1" if !SMP
161         default "6" if SMP
162         ---help---
163           This allows you to specify the maximum number of CPUs which this
164           kernel will support.  The maximum supported value is 6 and the
165           minimum value which makes sense is 2.
166
167           This is purely to save memory - each supported CPU adds
168           approximately eight kilobytes to the kernel image.
169
170 choice
171         prompt "Kernel page size"
172         default PAGE_SIZE_4KB
173         ---help---
174           Changes the default page size; use with caution.
175
176 config PAGE_SIZE_4KB
177         bool "4KB"
178
179 config PAGE_SIZE_16KB
180         bool "16KB"
181
182 config PAGE_SIZE_64KB
183         bool "64KB"
184
185 config PAGE_SIZE_256KB
186         bool "256KB"
187
188 endchoice
189
190 source "mm/Kconfig"
191
192 source "kernel/Kconfig.hz"
193 source "kernel/time/Kconfig"
194
195 config GENERIC_GPIO
196         bool "Generic GPIO support"
197         default n
198
199 endmenu
200
201 source "init/Kconfig"
202 source "drivers/Kconfig"
203 source "fs/Kconfig"
204
205 menu "Executable File Formats"
206 source "fs/Kconfig.binfmt"
207 endmenu
208
209 source "net/Kconfig"
210 source "security/Kconfig"
211 source "crypto/Kconfig"
212 source "lib/Kconfig"
213
214 menu "Kernel hacking"
215 source "lib/Kconfig.debug"
216 endmenu