Kconfig 3.1 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
A
Aurelien Jacquiot 已提交
2 3 4 5 6
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#

7
config C6X
A
Aurelien Jacquiot 已提交
8
	def_bool y
9 10
	select ARCH_HAS_SYNC_DMA_FOR_CPU
	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
A
Aurelien Jacquiot 已提交
11
	select CLKDEV_LOOKUP
12
	select DMA_NONCOHERENT_OPS
M
Mark Salter 已提交
13
	select GENERIC_ATOMIC64
A
Aurelien Jacquiot 已提交
14 15 16
	select GENERIC_IRQ_SHOW
	select HAVE_ARCH_TRACEHOOK
	select HAVE_MEMBLOCK
17
	select SPARSE_IRQ
18
	select IRQ_DOMAIN
A
Aurelien Jacquiot 已提交
19 20
	select OF
	select OF_EARLY_FLATTREE
21
	select GENERIC_CLOCKEVENTS
22
	select MODULES_USE_ELF_RELA
C
Christoph Hellwig 已提交
23
	select ARCH_NO_COHERENT_DMA_MMAP
A
Aurelien Jacquiot 已提交
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41

config MMU
	def_bool n

config FPU
	def_bool n

config RWSEM_GENERIC_SPINLOCK
	def_bool y

config GENERIC_CALIBRATE_DELAY
	def_bool y

config GENERIC_HWEIGHT
	def_bool y

config GENERIC_BUG
	def_bool y
42
	depends on BUG
A
Aurelien Jacquiot 已提交
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117

config C6X_BIG_KERNEL
	bool "Build a big kernel"
	help
	  The C6X function call instruction has a limited range of +/- 2MiB.
	  This is sufficient for most kernels, but some kernel configurations
	  with lots of compiled-in functionality may require a larger range
	  for function calls. Use this option to have the compiler generate
	  function calls with 32-bit range. This will make the kernel both
	  larger and slower.

	  If unsure, say N.

# Use the generic interrupt handling code in kernel/irq/

config CMDLINE_BOOL
	bool "Default bootloader kernel arguments"

config CMDLINE
	string "Kernel command line"
	depends on CMDLINE_BOOL
	default "console=ttyS0,57600"
	help
	  On some architectures there is currently no way for the boot loader
	  to pass arguments to the kernel. For these architectures, you should
	  supply some command-line options at build time by entering them
	  here.

config CMDLINE_FORCE
	bool "Force default kernel command string"
	depends on CMDLINE_BOOL
	default n
	help
	  Set this to have arguments from the default kernel command string
	  override those passed by the boot loader.

config CPU_BIG_ENDIAN
	bool "Build big-endian kernel"
	default n
	help
	  Say Y if you plan on running a kernel in big-endian mode.
	  Note that your board must be properly built and your board
	  port must properly enable any big-endian related features
	  of your chipset/board/processor.

config FORCE_MAX_ZONEORDER
	int "Maximum zone order"
	default "13"
	help
	  The kernel memory allocator divides physically contiguous memory
	  blocks into "zones", where each zone is a power of two number of
	  pages.  This option selects the largest power of two that the kernel
	  keeps in the memory allocator.  If you need to allocate very large
	  blocks of physically contiguous memory, then you may need to
	  increase this value.

	  This config option is actually maximum order plus one. For example,
	  a value of 11 means that the largest free memory block is 2^10 pages.

menu "Processor type and features"

source "arch/c6x/platforms/Kconfig"

config KERNEL_RAM_BASE_ADDRESS
	hex "Virtual address of memory base"
	default 0xe0000000 if SOC_TMS320C6455
	default 0xe0000000 if SOC_TMS320C6457
	default 0xe0000000 if SOC_TMS320C6472
	default 0x80000000

source "kernel/Kconfig.preempt"

source "kernel/Kconfig.hz"

endmenu