blob: 48d66bf0465d680b7dd39603d67e8a3caaec8527 [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
Christoph Hellwig5e6e9852020-09-03 16:22:35 +020025 select SET_FS
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040026
27config MMU
28 def_bool n
29
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040030config FPU
31 def_bool n
32
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040033config GENERIC_CALIBRATE_DELAY
34 def_bool y
35
36config GENERIC_HWEIGHT
37 def_bool y
38
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040039config GENERIC_BUG
40 def_bool y
Andrew Morton8b9e6d52016-03-17 14:21:06 -070041 depends on BUG
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040042
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040043config 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
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040055# Use the generic interrupt handling code in kernel/irq/
56
Aurelien Jacquiotc2784002011-10-04 10:54:51 -040057config CMDLINE_BOOL
58 bool "Default bootloader kernel arguments"
59
60config 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
70config 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
78config 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
87config 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
101menu "Processor type and features"
102
103source "arch/c6x/platforms/Kconfig"
104
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400105config 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
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400112source "kernel/Kconfig.hz"
Aurelien Jacquiotc2784002011-10-04 10:54:51 -0400113
114endmenu