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