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