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