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, |
Mauro Carvalho Chehab | cd238ef | 2019-06-12 14:52:48 -0300 | [diff] [blame] | 4 | # see Documentation/kbuild/kconfig-language.rst. |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 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 |
Stephen Boyd | bbd7ffd | 2020-04-08 23:44:13 -0700 | [diff] [blame] | 14 | select HAVE_LEGACY_CLK |
Mark Salter | 01ddd9a | 2012-08-15 12:12:16 -0400 | [diff] [blame] | 15 | select GENERIC_ATOMIC64 |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 16 | select GENERIC_IRQ_SHOW |
| 17 | select HAVE_ARCH_TRACEHOOK |
Rob Herring | 2ed86b1 | 2012-01-25 20:02:40 -0600 | [diff] [blame] | 18 | select SPARSE_IRQ |
Mark Salter | 0bd761e | 2012-01-26 09:26:21 -0500 | [diff] [blame] | 19 | select IRQ_DOMAIN |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 20 | select OF |
| 21 | select OF_EARLY_FLATTREE |
Anna-Maria Gleixner | 6220443 | 2012-05-18 16:45:46 +0000 | [diff] [blame] | 22 | select GENERIC_CLOCKEVENTS |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 23 | select MODULES_USE_ELF_RELA |
Peter Zijlstra | 6137fed | 2018-09-04 17:04:07 +0200 | [diff] [blame] | 24 | select MMU_GATHER_NO_RANGE if MMU |
Christoph Hellwig | 5e6e985 | 2020-09-03 16:22:35 +0200 | [diff] [blame] | 25 | select SET_FS |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 26 | |
| 27 | config MMU |
| 28 | def_bool n |
| 29 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 30 | config FPU |
| 31 | def_bool n |
| 32 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 33 | config GENERIC_CALIBRATE_DELAY |
| 34 | def_bool y |
| 35 | |
| 36 | config GENERIC_HWEIGHT |
| 37 | def_bool y |
| 38 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 39 | config GENERIC_BUG |
| 40 | def_bool y |
Andrew Morton | 8b9e6d5 | 2016-03-17 14:21:06 -0700 | [diff] [blame] | 41 | depends on BUG |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 42 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 43 | config 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 Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 55 | # Use the generic interrupt handling code in kernel/irq/ |
| 56 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 57 | config CMDLINE_BOOL |
| 58 | bool "Default bootloader kernel arguments" |
| 59 | |
| 60 | config 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 | |
| 70 | config 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 | |
| 78 | config 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 | |
| 87 | config 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 | |
| 101 | menu "Processor type and features" |
| 102 | |
| 103 | source "arch/c6x/platforms/Kconfig" |
| 104 | |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 105 | config 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 Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 112 | source "kernel/Kconfig.hz" |
Aurelien Jacquiot | c278400 | 2011-10-04 10:54:51 -0400 | [diff] [blame] | 113 | |
| 114 | endmenu |