blob: 6444ebfd06a6656563db32286f87c00eaf11e68c [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,
Mauro Carvalho Chehabcd238ef2019-06-12 14:52:48 -03004# see Documentation/kbuild/kconfig-language.rst.
Aurelien Jacquiotc2784002011-10-04 10:54:51 -04005#
6
Mark Salter18d14702012-05-01 20:37:49 -04007config C6X
Aurelien Jacquiotc2784002011-10-04 10:54:51 -04008 def_bool y
Yury Norov942fa982018-05-16 11:18:49 +03009 select ARCH_32BIT_OFF_T
Christoph Hellwigaef0f782019-06-13 09:08:57 +020010 select ARCH_HAS_BINFMT_FLAT
Christoph Hellwig7f5c1ea2018-04-16 17:27:40 +020011 select ARCH_HAS_SYNC_DMA_FOR_CPU
12 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040013 select CLKDEV_LOOKUP
Stephen Boydbbd7ffd2020-04-08 23:44:13 -070014 select HAVE_LEGACY_CLK
Mark Salter01ddd9a2012-08-15 12:12:16 -040015 select GENERIC_ATOMIC64
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040016 select GENERIC_IRQ_SHOW
17 select HAVE_ARCH_TRACEHOOK
Rob Herring2ed86b12012-01-25 20:02:40 -060018 select SPARSE_IRQ
Mark Salter0bd761e2012-01-26 09:26:21 -050019 select IRQ_DOMAIN
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040020 select OF
21 select OF_EARLY_FLATTREE
Anna-Maria Gleixner62204432012-05-18 16:45:46 +000022 select GENERIC_CLOCKEVENTS
David Howells786d35d2012-09-28 14:31:03 +093023 select MODULES_USE_ELF_RELA
Peter Zijlstra6137fed2018-09-04 17:04:07 +020024 select MMU_GATHER_NO_RANGE if MMU
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040025
26config MMU
27 def_bool n
28
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040029config FPU
30 def_bool n
31
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040032config GENERIC_CALIBRATE_DELAY
33 def_bool y
34
35config GENERIC_HWEIGHT
36 def_bool y
37
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040038config GENERIC_BUG
39 def_bool y
Andrew Morton8b9e6d52016-03-17 14:21:06 -070040 depends on BUG
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040041
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040042config 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
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040054# Use the generic interrupt handling code in kernel/irq/
55
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040056config 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
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400104config 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
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400111source "kernel/Kconfig.hz"
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400112
113endmenu