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