blob: a641b0bf1611531f9fb8f8b54127a9b683874aad [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Aurelien Jacquiotc2784002011-10-04 10:54:51 -04002#
3# For a description of the syntax of this configuration file,
4# see Documentation/kbuild/kconfig-language.txt.
5#
6
Mark Salter18d14702012-05-01 20:37:49 -04007config C6X
Aurelien Jacquiotc2784002011-10-04 10:54:51 -04008 def_bool y
Christoph Hellwig7f5c1ea2018-04-16 17:27:40 +02009 select ARCH_HAS_SYNC_DMA_FOR_CPU
10 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040011 select CLKDEV_LOOKUP
Christoph Hellwig7f5c1ea2018-04-16 17:27:40 +020012 select DMA_NONCOHERENT_OPS
Mark Salter01ddd9a2012-08-15 12:12:16 -040013 select GENERIC_ATOMIC64
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040014 select GENERIC_IRQ_SHOW
15 select HAVE_ARCH_TRACEHOOK
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040016 select HAVE_MEMBLOCK
Rob Herring2ed86b12012-01-25 20:02:40 -060017 select SPARSE_IRQ
Mark Salter0bd761e2012-01-26 09:26:21 -050018 select IRQ_DOMAIN
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040019 select OF
20 select OF_EARLY_FLATTREE
Anna-Maria Gleixner62204432012-05-18 16:45:46 +000021 select GENERIC_CLOCKEVENTS
David Howells786d35d2012-09-28 14:31:03 +093022 select MODULES_USE_ELF_RELA
Christoph Hellwig4605f04b2016-01-20 15:01:35 -080023 select ARCH_NO_COHERENT_DMA_MMAP
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040024
25config MMU
26 def_bool n
27
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040028config FPU
29 def_bool n
30
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040031config RWSEM_GENERIC_SPINLOCK
32 def_bool y
33
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040034config GENERIC_CALIBRATE_DELAY
35 def_bool y
36
37config GENERIC_HWEIGHT
38 def_bool y
39
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040040config GENERIC_BUG
41 def_bool y
Andrew Morton8b9e6d52016-03-17 14:21:06 -070042 depends on BUG
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040043
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040044config C6X_BIG_KERNEL
45 bool "Build a big kernel"
46 help
47 The C6X function call instruction has a limited range of +/- 2MiB.
48 This is sufficient for most kernels, but some kernel configurations
49 with lots of compiled-in functionality may require a larger range
50 for function calls. Use this option to have the compiler generate
51 function calls with 32-bit range. This will make the kernel both
52 larger and slower.
53
54 If unsure, say N.
55
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040056# Use the generic interrupt handling code in kernel/irq/
57
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040058config CMDLINE_BOOL
59 bool "Default bootloader kernel arguments"
60
61config CMDLINE
62 string "Kernel command line"
63 depends on CMDLINE_BOOL
64 default "console=ttyS0,57600"
65 help
66 On some architectures there is currently no way for the boot loader
67 to pass arguments to the kernel. For these architectures, you should
68 supply some command-line options at build time by entering them
69 here.
70
71config CMDLINE_FORCE
72 bool "Force default kernel command string"
73 depends on CMDLINE_BOOL
74 default n
75 help
76 Set this to have arguments from the default kernel command string
77 override those passed by the boot loader.
78
79config CPU_BIG_ENDIAN
80 bool "Build big-endian kernel"
81 default n
82 help
83 Say Y if you plan on running a kernel in big-endian mode.
84 Note that your board must be properly built and your board
85 port must properly enable any big-endian related features
86 of your chipset/board/processor.
87
88config FORCE_MAX_ZONEORDER
89 int "Maximum zone order"
90 default "13"
91 help
92 The kernel memory allocator divides physically contiguous memory
93 blocks into "zones", where each zone is a power of two number of
94 pages. This option selects the largest power of two that the kernel
95 keeps in the memory allocator. If you need to allocate very large
96 blocks of physically contiguous memory, then you may need to
97 increase this value.
98
99 This config option is actually maximum order plus one. For example,
100 a value of 11 means that the largest free memory block is 2^10 pages.
101
102menu "Processor type and features"
103
104source "arch/c6x/platforms/Kconfig"
105
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400106config KERNEL_RAM_BASE_ADDRESS
107 hex "Virtual address of memory base"
108 default 0xe0000000 if SOC_TMS320C6455
109 default 0xe0000000 if SOC_TMS320C6457
110 default 0xe0000000 if SOC_TMS320C6472
111 default 0x80000000
112
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400113source "kernel/Kconfig.hz"
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400114
115endmenu