Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 2 | # |
| 3 | # For a description of the syntax of this configuration file, |
| 4 | # see Documentation/kbuild/kconfig-language.txt. |
| 5 | # |
| 6 | |
Mark Salter | 18d1470 | 2012-05-01 20:37:49 -0400 | [diff] [blame] | 7 | config C6X |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 8 | def_bool y |
Yury Norov | 942fa98 | 2018-05-16 11:18:49 +0300 | [diff] [blame] | 9 | select ARCH_32BIT_OFF_T |
Christoph Hellwig | aef0f78 | 2019-06-13 09:08:57 +0200 | [diff] [blame^] | 10 | select ARCH_HAS_BINFMT_FLAT |
Christoph Hellwig | 7f5c1ea | 2018-04-16 17:27:40 +0200 | [diff] [blame] | 11 | select ARCH_HAS_SYNC_DMA_FOR_CPU |
| 12 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 13 | select CLKDEV_LOOKUP |
Mark Salter | 01ddd9a | 2012-08-15 12:12:16 -0400 | [diff] [blame] | 14 | select GENERIC_ATOMIC64 |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 15 | select GENERIC_IRQ_SHOW |
| 16 | select HAVE_ARCH_TRACEHOOK |
Rob Herring | 2ed86b1 | 2012-01-25 20:02:40 -0600 | [diff] [blame] | 17 | select SPARSE_IRQ |
Mark Salter | 0bd761e | 2012-01-26 09:26:21 -0500 | [diff] [blame] | 18 | select IRQ_DOMAIN |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 19 | select OF |
| 20 | select OF_EARLY_FLATTREE |
Anna-Maria Gleixner | 6220443 | 2012-05-18 16:45:46 +0000 | [diff] [blame] | 21 | select GENERIC_CLOCKEVENTS |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 22 | select MODULES_USE_ELF_RELA |
Christoph Hellwig | 4605f04b | 2016-01-20 15:01:35 -0800 | [diff] [blame] | 23 | select ARCH_NO_COHERENT_DMA_MMAP |
Peter Zijlstra | 6137fed | 2018-09-04 17:04:07 +0200 | [diff] [blame] | 24 | select MMU_GATHER_NO_RANGE if MMU |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 25 | |
| 26 | config MMU |
| 27 | def_bool n |
| 28 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 29 | config FPU |
| 30 | def_bool n |
| 31 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 32 | config GENERIC_CALIBRATE_DELAY |
| 33 | def_bool y |
| 34 | |
| 35 | config GENERIC_HWEIGHT |
| 36 | def_bool y |
| 37 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 38 | config GENERIC_BUG |
| 39 | def_bool y |
Andrew Morton | 8b9e6d5 | 2016-03-17 14:21:06 -0700 | [diff] [blame] | 40 | depends on BUG |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 41 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 42 | config 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 Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 54 | # Use the generic interrupt handling code in kernel/irq/ |
| 55 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 56 | config CMDLINE_BOOL |
| 57 | bool "Default bootloader kernel arguments" |
| 58 | |
| 59 | config 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 | |
| 69 | config 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 | |
| 77 | config 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 | |
| 86 | config 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 | |
| 100 | menu "Processor type and features" |
| 101 | |
| 102 | source "arch/c6x/platforms/Kconfig" |
| 103 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 104 | config 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 Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 111 | source "kernel/Kconfig.hz" |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 112 | |
| 113 | endmenu |