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