Merge branches 'no-rebases', 'arch-avr32', 'arch-blackfin', 'arch-cris', 'arch-h8300...
[cascardo/linux.git] / arch / c6x / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 config C6X
7         def_bool y
8         select CLKDEV_LOOKUP
9         select GENERIC_ATOMIC64
10         select GENERIC_IRQ_SHOW
11         select HAVE_ARCH_TRACEHOOK
12         select HAVE_DMA_API_DEBUG
13         select HAVE_GENERIC_HARDIRQS
14         select HAVE_MEMBLOCK
15         select SPARSE_IRQ
16         select IRQ_DOMAIN
17         select OF
18         select OF_EARLY_FLATTREE
19         select GENERIC_CLOCKEVENTS
20         select GENERIC_KERNEL_THREAD
21         select GENERIC_KERNEL_EXECVE
22         select MODULES_USE_ELF_RELA
23
24 config MMU
25         def_bool n
26
27 config FPU
28         def_bool n
29
30 config RWSEM_GENERIC_SPINLOCK
31         def_bool y
32
33 config GENERIC_CALIBRATE_DELAY
34         def_bool y
35
36 config GENERIC_HWEIGHT
37         def_bool y
38
39 config GENERIC_BUG
40         def_bool y
41
42 config COMMON_CLKDEV
43         def_bool y
44
45 config C6X_BIG_KERNEL
46         bool "Build a big kernel"
47         help
48           The C6X function call instruction has a limited range of +/- 2MiB.
49           This is sufficient for most kernels, but some kernel configurations
50           with lots of compiled-in functionality may require a larger range
51           for function calls. Use this option to have the compiler generate
52           function calls with 32-bit range. This will make the kernel both
53           larger and slower.
54
55           If unsure, say N.
56
57 source "init/Kconfig"
58
59 # Use the generic interrupt handling code in kernel/irq/
60
61 source "kernel/Kconfig.freezer"
62
63 config CMDLINE_BOOL
64         bool "Default bootloader kernel arguments"
65
66 config CMDLINE
67         string "Kernel command line"
68         depends on CMDLINE_BOOL
69         default "console=ttyS0,57600"
70         help
71           On some architectures there is currently no way for the boot loader
72           to pass arguments to the kernel. For these architectures, you should
73           supply some command-line options at build time by entering them
74           here.
75
76 config CMDLINE_FORCE
77         bool "Force default kernel command string"
78         depends on CMDLINE_BOOL
79         default n
80         help
81           Set this to have arguments from the default kernel command string
82           override those passed by the boot loader.
83
84 config CPU_BIG_ENDIAN
85         bool "Build big-endian kernel"
86         default n
87         help
88           Say Y if you plan on running a kernel in big-endian mode.
89           Note that your board must be properly built and your board
90           port must properly enable any big-endian related features
91           of your chipset/board/processor.
92
93 config FORCE_MAX_ZONEORDER
94         int "Maximum zone order"
95         default "13"
96         help
97           The kernel memory allocator divides physically contiguous memory
98           blocks into "zones", where each zone is a power of two number of
99           pages.  This option selects the largest power of two that the kernel
100           keeps in the memory allocator.  If you need to allocate very large
101           blocks of physically contiguous memory, then you may need to
102           increase this value.
103
104           This config option is actually maximum order plus one. For example,
105           a value of 11 means that the largest free memory block is 2^10 pages.
106
107 menu "Processor type and features"
108
109 source "arch/c6x/platforms/Kconfig"
110
111 config TMS320C6X_CACHES_ON
112         bool "L2 cache support"
113         default y
114
115 config KERNEL_RAM_BASE_ADDRESS
116         hex "Virtual address of memory base"
117         default 0xe0000000 if SOC_TMS320C6455
118         default 0xe0000000 if SOC_TMS320C6457
119         default 0xe0000000 if SOC_TMS320C6472
120         default 0x80000000
121
122 source "mm/Kconfig"
123
124 source "kernel/Kconfig.preempt"
125
126 source "kernel/Kconfig.hz"
127
128 endmenu
129
130 menu "Executable file formats"
131
132 source "fs/Kconfig.binfmt"
133
134 endmenu
135
136 source "net/Kconfig"
137
138 source "drivers/Kconfig"
139
140 source "fs/Kconfig"
141
142 source "security/Kconfig"
143
144 source "crypto/Kconfig"
145
146 source "lib/Kconfig"
147
148 menu "Kernel hacking"
149
150 source "lib/Kconfig.debug"
151
152 config ACCESS_CHECK
153         bool "Check the user pointer address"
154         default y
155         help
156           Usually the pointer transfer from user space is checked to see if its
157           address is in the kernel space.
158
159           Say N here to disable that check to improve the performance.
160
161 endmenu