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