blob: bf59855628ac6cc0da10c5534c30e17ea1c79947 [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
Christoph Hellwig7f5c1ea2018-04-16 17:27:40 +02009 select ARCH_HAS_SYNC_DMA_FOR_CPU
10 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040011 select CLKDEV_LOOKUP
Christoph Hellwig7f5c1ea2018-04-16 17:27:40 +020012 select DMA_NONCOHERENT_OPS
Mark Salter01ddd9a2012-08-15 12:12:16 -040013 select GENERIC_ATOMIC64
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040014 select GENERIC_IRQ_SHOW
15 select HAVE_ARCH_TRACEHOOK
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040016 select HAVE_MEMBLOCK
Rob Herring2ed86b12012-01-25 20:02:40 -060017 select SPARSE_IRQ
Mark Salter0bd761e2012-01-26 09:26:21 -050018 select IRQ_DOMAIN
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040019 select OF
20 select OF_EARLY_FLATTREE
Anna-Maria Gleixner62204432012-05-18 16:45:46 +000021 select GENERIC_CLOCKEVENTS
David Howells786d35d2012-09-28 14:31:03 +093022 select MODULES_USE_ELF_RELA
Christoph Hellwig4605f04b2016-01-20 15:01:35 -080023 select ARCH_NO_COHERENT_DMA_MMAP
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040024
25config MMU
26 def_bool n
27
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040028config FPU
29 def_bool n
30
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040031config RWSEM_GENERIC_SPINLOCK
32 def_bool y
33
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040034config GENERIC_CALIBRATE_DELAY
35 def_bool y
36
37config GENERIC_HWEIGHT
38 def_bool y
39
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040040config GENERIC_BUG
41 def_bool y
Andrew Morton8b9e6d52016-03-17 14:21:06 -070042 depends on BUG
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040043
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040044config 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
56source "init/Kconfig"
57
58# Use the generic interrupt handling code in kernel/irq/
59
60source "kernel/Kconfig.freezer"
61
62config CMDLINE_BOOL
63 bool "Default bootloader kernel arguments"
64
65config 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
75config 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
83config 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
92config 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
106menu "Processor type and features"
107
108source "arch/c6x/platforms/Kconfig"
109
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400110config 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
117source "mm/Kconfig"
118
119source "kernel/Kconfig.preempt"
120
121source "kernel/Kconfig.hz"
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400122
123endmenu
124
125menu "Executable file formats"
126
127source "fs/Kconfig.binfmt"
128
129endmenu
130
131source "net/Kconfig"
132
133source "drivers/Kconfig"
134
135source "fs/Kconfig"
136
137source "security/Kconfig"
138
139source "crypto/Kconfig"
140
141source "lib/Kconfig"
142
143menu "Kernel hacking"
144
145source "lib/Kconfig.debug"
146
147config 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
156endmenu