1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/config-language.txt.
4#
5mainmenu_name "Linux/SH64 Kernel Configuration"
6
7define_bool CONFIG_SUPERH y
8
9define_bool CONFIG_UID16 y
10define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
11define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
12
13mainmenu_option next_comment
14comment 'Code maturity level options'
15bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
16endmenu
17
18mainmenu_option next_comment
19comment 'Loadable module support'
20bool 'Enable loadable module support' CONFIG_MODULES
21if [ "$CONFIG_MODULES" = "y" ]; then
22   bool '  Set version information on all module symbols' CONFIG_MODVERSIONS
23   bool '  Kernel module loader' CONFIG_KMOD
24fi
25endmenu
26
27mainmenu_option next_comment
28comment 'System type'
29choice 'SuperH system type'					\
30	"Generic		CONFIG_SH_GENERIC		\
31	 Simulator		CONFIG_SH_SIMULATOR		\
32	 Cayman		        CONFIG_SH_CAYMAN		\
33	 ST50-Harp		CONFIG_SH_HARP" Simulator
34endmenu
35
36mainmenu_option next_comment
37comment 'Processor type and features'
38comment 'Processor options'
39choice 'Processor family'					\
40	"SH-5			CONFIG_CPU_SH5" SH-5
41
42if [ "$CONFIG_CPU_SH5" = "y" ]; then
43   choice 'Processor type' \
44   	"SH5-101		CONFIG_CPU_SUBTYPE_SH5_101	\
45	 SH5-103		CONFIG_CPU_SUBTYPE_SH5_103" SH5-101
46fi
47
48choice 'Endianness' \
49       "Little-Endian		CONFIG_LITTLE_ENDIAN		\
50	Big-Endian		CONFIG_BIG_ENDIAN" Little-Endian
51
52bool 'Flush floating point denorms to zero' CONFIG_SH64_FPU_DENORM_FLUSH
53choice 'Page table levels' \
54	"2			CONFIG_SH64_PGTABLE_2_LEVEL \
55	 3			CONFIG_SH64_PGTABLE_3_LEVEL" 2
56
57bool 'Fixup misaligned loads/stores occurring in user mode' CONFIG_SH64_USER_MISALIGNED_FIXUP
58
59# Use 32-bit addressing for now.
60# EMI based.
61# (CACHED) assumes non-identity.
62
63#
64# Memory options
65#
66comment 'Memory options'
67
68int 'Memory size (in MB)' CONFIG_MEMORY_SIZE_IN_MB 64
69hex 'Cached Area Offset' CONFIG_CACHED_MEMORY_OFFSET 20000000
70hex 'Physical memory start address' CONFIG_MEMORY_START 80000000
71
72#
73# Cache options
74#
75comment 'Cache options'
76bool 'DCache Disabling' CONFIG_DCACHE_DISABLED
77
78if [ "$CONFIG_SH_SIMULATOR" != "y" -a \
79     "$CONFIG_DCACHE_DISABLED" != "y" ]; then
80     choice 'DCache mode'                                 \
81         "Write-back             CONFIG_DCACHE_WRITE_BACK \
82          Write-through          CONFIG_DCACHE_WRITE_THROUGH" Write-back
83fi
84
85bool 'ICache Disabling' CONFIG_ICACHE_DISABLED
86
87
88#
89# CPU Subtype specific options (errata and such)
90#
91comment 'CPU Subtype specific options'
92if [ "$CONFIG_CPU_SUBTYPE_SH5_101" = "y" ]; then
93  bool "Include workaround for SH5-101 cut2 silicon defect ID2815" CONFIG_SH64_ID2815_WORKAROUND
94fi
95
96endmenu
97
98mainmenu_option next_comment
99comment 'General setup'
100
101define_bool CONFIG_ISA n
102define_bool CONFIG_SBUS n
103
104bool 'Networking support' CONFIG_NET
105
106bool 'PCI support' CONFIG_PCI
107if [ "$CONFIG_SH_SIMULATOR" = "y" ]; then
108  define_bool CONFIG_PCI n
109  define_bool CONFIG_NET n
110fi
111
112if [ "$CONFIG_SH_HARP" = "y" ]; then
113  define_bool CONFIG_PCI n
114  define_bool CONFIG_NET y
115  define_bool CONFIG_NET_PCI y
116fi
117
118if [ "$CONFIG_PCI" = "y" ]; then
119   choice '  PCI access mode' \
120	"BIOS		CONFIG_PCI_GOBIOS	\
121	 Direct		CONFIG_PCI_GODIRECT	\
122	 Any		CONFIG_PCI_GOANY"	Any
123   if [ "$CONFIG_PCI_GOBIOS" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
124      define_bool CONFIG_PCI_BIOS y
125   fi
126   if [ "$CONFIG_PCI_GODIRECT" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
127      define_bool CONFIG_PCI_DIRECT y
128   fi
129fi
130
131source drivers/pci/Config.in
132
133# bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
134#
135define_bool CONFIG_HOTPLUG n
136
137if [ "$CONFIG_HOTPLUG" = "y" ] ; then
138   source drivers/pcmcia/Config.in
139else
140   define_bool CONFIG_PCMCIA n
141fi
142
143bool 'System V IPC' CONFIG_SYSVIPC
144bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
145# bool 'Sysctl support' CONFIG_SYSCTL
146define_bool CONFIG_SYSCTL y
147
148if [ "$CONFIG_PROC_FS" = "y" ]; then
149   choice 'Kernel core (/proc/kcore) format' \
150	"ELF		CONFIG_KCORE_ELF	\
151	 A.OUT		CONFIG_KCORE_AOUT" ELF
152fi
153bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
154tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
155
156bool 'Select task to kill on out of memory condition' CONFIG_OOM_KILLER
157
158# source drivers/parport/Config.in
159
160endmenu
161
162# source drivers/mtd/Config.in
163
164source drivers/block/Config.in
165
166if [ "$CONFIG_NET" = "y" ]; then
167   source net/Config.in
168fi
169
170mainmenu_option next_comment
171comment 'ATA/IDE/MFM/RLL support'
172
173tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
174
175if [ "$CONFIG_IDE" != "n" ]; then
176  source drivers/ide/Config.in
177else
178   define_bool CONFIG_BLK_DEV_HD n
179fi
180endmenu
181
182mainmenu_option next_comment
183comment 'SCSI support'
184
185 tristate 'SCSI support' CONFIG_SCSI
186##define_bool CONFIG_SCSI n
187
188if [ "$CONFIG_SCSI" != "n" ]; then
189   source drivers/scsi/Config.in
190fi
191endmenu
192
193# source drivers/ieee1394/Config.in
194
195if [ "$CONFIG_NET" = "y" ]; then
196   mainmenu_option next_comment
197   comment 'Network device support'
198
199   bool 'Network device support' CONFIG_NETDEVICES
200   if [ "$CONFIG_NETDEVICES" = "y" ]; then
201      source drivers/net/Config.in
202      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
203         source drivers/atm/Config.in
204      fi
205   fi
206   endmenu
207fi
208
209#
210# input before char - char/joystick depends on it. As does USB.
211#
212source drivers/input/Config.in
213
214mainmenu_option next_comment
215comment 'Character devices'
216
217bool 'Virtual terminal' CONFIG_VT
218
219if [ "$CONFIG_VT" = "y" ]; then
220   bool '  Support for console on virtual terminal' CONFIG_VT_CONSOLE
221fi
222
223
224# insert for SCIF serial console support
225tristate 'Serial (SCI, SCIF) support' CONFIG_SH_SCI
226tristate 'Serial (8250, 16450, 16550 or compatible) support' CONFIG_SERIAL
227
228if [ "$CONFIG_SERIAL" = "y" -o "$CONFIG_SH_SCI" = "y" ]; then
229   bool '  Support for console on serial port' CONFIG_SERIAL_CONSOLE
230fi
231
232
233comment 'Unix 98 PTY support'
234bool 'Unix98 PTY support' CONFIG_UNIX98_PTYS
235if [ "$CONFIG_UNIX98_PTYS" = "y" ]; then
236   int 'Maximum number of Unix98 PTYs in use (0-2048)' CONFIG_UNIX98_PTY_COUNT 256
237fi
238if [ "$CONFIG_PARPORT" != "n" ]; then
239   dep_tristate 'Parallel printer support' CONFIG_PRINTER $CONFIG_PARPORT
240   if [ "$CONFIG_PRINTER" != "n" ]; then
241      bool '  Support for console on line printer' CONFIG_LP_CONSOLE
242   fi
243   dep_tristate 'Support for user-space parallel port device drivers' CONFIG_PPDEV $CONFIG_PARPORT
244fi
245
246bool 'Heartbeat LED' CONFIG_HEARTBEAT
247dep_bool 'Support for HDSP-253 LED' CONFIG_HDSP253_LED $CONFIG_SH_CAYMAN
248tristate 'DMA controller (DMAC) support' CONFIG_SH_DMA
249bool 'PS/2 mouse (aka "auxiliary device") support' CONFIG_PSMOUSE
250
251mainmenu_option next_comment
252comment 'Watchdog Cards'
253bool 'Watchdog Timer Support' CONFIG_WATCHDOG
254if [ "$CONFIG_WATCHDOG" != "n" ]; then
255   bool '  Disable watchdog shutdown on close' CONFIG_WATCHDOG_NOWAYOUT
256   dep_tristate '  SuperH Watchdog' CONFIG_SH_WDT $CONFIG_SUPERH
257fi
258endmenu
259
260endmenu
261
262if [ "$CONFIG_HOTPLUG" = "y" -a "$CONFIG_PCMCIA" != "n" ]; then
263   source drivers/char/pcmcia/Config.in
264fi
265
266source fs/Config.in
267
268source drivers/media/Config.in
269
270
271if [ "$CONFIG_VT" = "y" ]; then
272   mainmenu_option next_comment
273   comment 'Console drivers'
274   bool 'VGA text console' CONFIG_VGA_CONSOLE
275   bool 'Video mode selection support' CONFIG_VIDEO_SELECT
276   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
277      tristate 'MDA text console (dual-headed) (EXPERIMENTAL)' CONFIG_MDA_CONSOLE
278      source drivers/video/Config.in
279   fi
280   endmenu
281fi
282
283
284mainmenu_option next_comment
285comment 'Sound'
286
287tristate 'Sound card support' CONFIG_SOUND
288# define_bool CONFIG_SOUND n
289
290if [ "$CONFIG_SOUND" != "n" ]; then
291   source drivers/sound/Config.in
292fi
293endmenu
294
295source drivers/usb/Config.in
296
297mainmenu_option next_comment
298comment 'Kernel hacking'
299
300bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
301bool 'GDB Stub kernel debug' CONFIG_DEBUG_KERNEL_WITH_GDB_STUB
302bool "Debug: audit page tables on return from syscall/exception/interrupt" CONFIG_SH64_PAGE_TABLE_AUDIT
303dep_bool "Debug: report TLB fill/purge activity through /proc/tlb" CONFIG_SH64_PROC_TLB $CONFIG_PROC_FS
304dep_bool "Debug: report ASIDS through /proc/asids" CONFIG_SH64_PROC_ASIDS $CONFIG_PROC_FS
305bool "Debug: set SR.WATCH to enable hardware watchpoints and trace" CONFIG_SH64_SR_WATCH
306
307int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0
308
309endmenu
310
311source lib/Config.in
312source crypto/Config.in
313
314