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