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