Kconfig 3.0 KB

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