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