1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6config C6X
7	def_bool y
8	select CLKDEV_LOOKUP
9	select GENERIC_ATOMIC64
10	select GENERIC_IRQ_SHOW
11	select HAVE_ARCH_TRACEHOOK
12	select HAVE_DMA_API_DEBUG
13	select HAVE_MEMBLOCK
14	select SPARSE_IRQ
15	select IRQ_DOMAIN
16	select OF
17	select OF_EARLY_FLATTREE
18	select GENERIC_CLOCKEVENTS
19	select MODULES_USE_ELF_RELA
20
21config MMU
22	def_bool n
23
24config FPU
25	def_bool n
26
27config RWSEM_GENERIC_SPINLOCK
28	def_bool y
29
30config GENERIC_CALIBRATE_DELAY
31	def_bool y
32
33config GENERIC_HWEIGHT
34	def_bool y
35
36config GENERIC_BUG
37	def_bool y
38
39config C6X_BIG_KERNEL
40	bool "Build a big kernel"
41	help
42	  The C6X function call instruction has a limited range of +/- 2MiB.
43	  This is sufficient for most kernels, but some kernel configurations
44	  with lots of compiled-in functionality may require a larger range
45	  for function calls. Use this option to have the compiler generate
46	  function calls with 32-bit range. This will make the kernel both
47	  larger and slower.
48
49	  If unsure, say N.
50
51source "init/Kconfig"
52
53# Use the generic interrupt handling code in kernel/irq/
54
55source "kernel/Kconfig.freezer"
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 "mm/Kconfig"
113
114source "kernel/Kconfig.preempt"
115
116source "kernel/Kconfig.hz"
117
118endmenu
119
120menu "Executable file formats"
121
122source "fs/Kconfig.binfmt"
123
124endmenu
125
126source "net/Kconfig"
127
128source "drivers/Kconfig"
129
130source "fs/Kconfig"
131
132source "security/Kconfig"
133
134source "crypto/Kconfig"
135
136source "lib/Kconfig"
137
138menu "Kernel hacking"
139
140source "lib/Kconfig.debug"
141
142config ACCESS_CHECK
143	bool "Check the user pointer address"
144	default y
145	help
146	  Usually the pointer transfer from user space is checked to see if its
147	  address is in the kernel space.
148
149	  Say N here to disable that check to improve the performance.
150
151endmenu
152