]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
c278400c AJ |
2 | # |
3 | # For a description of the syntax of this configuration file, | |
cd238eff | 4 | # see Documentation/kbuild/kconfig-language.rst. |
c278400c AJ |
5 | # |
6 | ||
18d14704 | 7 | config C6X |
c278400c | 8 | def_bool y |
942fa985 | 9 | select ARCH_32BIT_OFF_T |
aef0f78e | 10 | select ARCH_HAS_BINFMT_FLAT |
7f5c1ea3 CH |
11 | select ARCH_HAS_SYNC_DMA_FOR_CPU |
12 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE | |
c278400c | 13 | select CLKDEV_LOOKUP |
bbd7ffdb | 14 | select HAVE_LEGACY_CLK |
01ddd9a8 | 15 | select GENERIC_ATOMIC64 |
c278400c AJ |
16 | select GENERIC_IRQ_SHOW |
17 | select HAVE_ARCH_TRACEHOOK | |
2ed86b16 | 18 | select SPARSE_IRQ |
0bd761e1 | 19 | select IRQ_DOMAIN |
c278400c AJ |
20 | select OF |
21 | select OF_EARLY_FLATTREE | |
6220443d | 22 | select GENERIC_CLOCKEVENTS |
786d35d4 | 23 | select MODULES_USE_ELF_RELA |
6137fed0 | 24 | select MMU_GATHER_NO_RANGE if MMU |
5e6e9852 | 25 | select SET_FS |
c278400c AJ |
26 | |
27 | config MMU | |
28 | def_bool n | |
29 | ||
c278400c AJ |
30 | config FPU |
31 | def_bool n | |
32 | ||
c278400c AJ |
33 | config GENERIC_CALIBRATE_DELAY |
34 | def_bool y | |
35 | ||
36 | config GENERIC_HWEIGHT | |
37 | def_bool y | |
38 | ||
c278400c AJ |
39 | config GENERIC_BUG |
40 | def_bool y | |
8b9e6d58 | 41 | depends on BUG |
c278400c | 42 | |
c278400c AJ |
43 | config C6X_BIG_KERNEL |
44 | bool "Build a big kernel" | |
45 | help | |
46 | The C6X function call instruction has a limited range of +/- 2MiB. | |
47 | This is sufficient for most kernels, but some kernel configurations | |
48 | with lots of compiled-in functionality may require a larger range | |
49 | for function calls. Use this option to have the compiler generate | |
50 | function calls with 32-bit range. This will make the kernel both | |
51 | larger and slower. | |
52 | ||
53 | If unsure, say N. | |
54 | ||
c278400c AJ |
55 | # Use the generic interrupt handling code in kernel/irq/ |
56 | ||
c278400c AJ |
57 | config CMDLINE_BOOL |
58 | bool "Default bootloader kernel arguments" | |
59 | ||
60 | config CMDLINE | |
61 | string "Kernel command line" | |
62 | depends on CMDLINE_BOOL | |
63 | default "console=ttyS0,57600" | |
64 | help | |
65 | On some architectures there is currently no way for the boot loader | |
66 | to pass arguments to the kernel. For these architectures, you should | |
67 | supply some command-line options at build time by entering them | |
68 | here. | |
69 | ||
70 | config CMDLINE_FORCE | |
71 | bool "Force default kernel command string" | |
72 | depends on CMDLINE_BOOL | |
73 | default n | |
74 | help | |
75 | Set this to have arguments from the default kernel command string | |
76 | override those passed by the boot loader. | |
77 | ||
78 | config CPU_BIG_ENDIAN | |
79 | bool "Build big-endian kernel" | |
80 | default n | |
81 | help | |
82 | Say Y if you plan on running a kernel in big-endian mode. | |
83 | Note that your board must be properly built and your board | |
84 | port must properly enable any big-endian related features | |
85 | of your chipset/board/processor. | |
86 | ||
87 | config FORCE_MAX_ZONEORDER | |
88 | int "Maximum zone order" | |
89 | default "13" | |
90 | help | |
91 | The kernel memory allocator divides physically contiguous memory | |
92 | blocks into "zones", where each zone is a power of two number of | |
93 | pages. This option selects the largest power of two that the kernel | |
94 | keeps in the memory allocator. If you need to allocate very large | |
95 | blocks of physically contiguous memory, then you may need to | |
96 | increase this value. | |
97 | ||
98 | This config option is actually maximum order plus one. For example, | |
99 | a value of 11 means that the largest free memory block is 2^10 pages. | |
100 | ||
101 | menu "Processor type and features" | |
102 | ||
103 | source "arch/c6x/platforms/Kconfig" | |
104 | ||
c278400c AJ |
105 | config KERNEL_RAM_BASE_ADDRESS |
106 | hex "Virtual address of memory base" | |
107 | default 0xe0000000 if SOC_TMS320C6455 | |
108 | default 0xe0000000 if SOC_TMS320C6457 | |
109 | default 0xe0000000 if SOC_TMS320C6472 | |
110 | default 0x80000000 | |
111 | ||
c278400c | 112 | source "kernel/Kconfig.hz" |
c278400c AJ |
113 | |
114 | endmenu |