• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.rst.
5#
6
7config C6X
8	def_bool y
9	select ARCH_32BIT_OFF_T
10	select ARCH_HAS_BINFMT_FLAT
11	select ARCH_HAS_SYNC_DMA_FOR_CPU
12	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
13	select CLKDEV_LOOKUP
14	select HAVE_LEGACY_CLK
15	select GENERIC_ATOMIC64
16	select GENERIC_IRQ_SHOW
17	select HAVE_ARCH_TRACEHOOK
18	select SPARSE_IRQ
19	select IRQ_DOMAIN
20	select OF
21	select OF_EARLY_FLATTREE
22	select GENERIC_CLOCKEVENTS
23	select MODULES_USE_ELF_RELA
24	select MMU_GATHER_NO_RANGE if MMU
25	select SET_FS
26
27config MMU
28	def_bool n
29
30config FPU
31	def_bool n
32
33config GENERIC_CALIBRATE_DELAY
34	def_bool y
35
36config GENERIC_HWEIGHT
37	def_bool y
38
39config GENERIC_BUG
40	def_bool y
41	depends on BUG
42
43config 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
55# Use the generic interrupt handling code in kernel/irq/
56
57config 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
105config 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
112source "kernel/Kconfig.hz"
113
114endmenu
115