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