^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # For a description of the syntax of this configuration file,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) # see Documentation/kbuild/kconfig-language.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) config C6X
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) select ARCH_32BIT_OFF_T
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) select ARCH_HAS_BINFMT_FLAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) select ARCH_HAS_SYNC_DMA_FOR_CPU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) select ARCH_HAS_SYNC_DMA_FOR_DEVICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) select CLKDEV_LOOKUP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) select HAVE_LEGACY_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) select GENERIC_ATOMIC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) select GENERIC_IRQ_SHOW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) select HAVE_ARCH_TRACEHOOK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) select SPARSE_IRQ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) select IRQ_DOMAIN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) select OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) select OF_EARLY_FLATTREE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) select GENERIC_CLOCKEVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) select MODULES_USE_ELF_RELA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) select MMU_GATHER_NO_RANGE if MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) select SET_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) config MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) def_bool n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) config FPU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) def_bool n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) config GENERIC_CALIBRATE_DELAY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) config GENERIC_HWEIGHT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) config GENERIC_BUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) depends on BUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) config C6X_BIG_KERNEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) bool "Build a big kernel"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) The C6X function call instruction has a limited range of +/- 2MiB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) This is sufficient for most kernels, but some kernel configurations
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) with lots of compiled-in functionality may require a larger range
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) for function calls. Use this option to have the compiler generate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) function calls with 32-bit range. This will make the kernel both
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) larger and slower.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) # Use the generic interrupt handling code in kernel/irq/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) config CMDLINE_BOOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) bool "Default bootloader kernel arguments"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) config CMDLINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) string "Kernel command line"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) depends on CMDLINE_BOOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) default "console=ttyS0,57600"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) On some architectures there is currently no way for the boot loader
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) to pass arguments to the kernel. For these architectures, you should
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) supply some command-line options at build time by entering them
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) config CMDLINE_FORCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) bool "Force default kernel command string"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) depends on CMDLINE_BOOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) Set this to have arguments from the default kernel command string
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) override those passed by the boot loader.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) config CPU_BIG_ENDIAN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) bool "Build big-endian kernel"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) Say Y if you plan on running a kernel in big-endian mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) Note that your board must be properly built and your board
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) port must properly enable any big-endian related features
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) of your chipset/board/processor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) config FORCE_MAX_ZONEORDER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) int "Maximum zone order"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) default "13"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) The kernel memory allocator divides physically contiguous memory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) blocks into "zones", where each zone is a power of two number of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) pages. This option selects the largest power of two that the kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) keeps in the memory allocator. If you need to allocate very large
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) blocks of physically contiguous memory, then you may need to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) increase this value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) This config option is actually maximum order plus one. For example,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) a value of 11 means that the largest free memory block is 2^10 pages.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) menu "Processor type and features"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) source "arch/c6x/platforms/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) config KERNEL_RAM_BASE_ADDRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) hex "Virtual address of memory base"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) default 0xe0000000 if SOC_TMS320C6455
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) default 0xe0000000 if SOC_TMS320C6457
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) default 0xe0000000 if SOC_TMS320C6472
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) default 0x80000000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) source "kernel/Kconfig.hz"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) endmenu