Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. # SPDX-License-Identifier: GPL-2.0
  2. config M68K
  3. bool
  4. default y
  5. select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
  6. select ARCH_NO_COHERENT_DMA_MMAP if !MMU
  7. select HAVE_IDE
  8. select HAVE_AOUT if MMU
  9. select HAVE_DEBUG_BUGVERBOSE
  10. select GENERIC_IRQ_SHOW
  11. select GENERIC_ATOMIC64
  12. select HAVE_UID16
  13. select VIRT_TO_BUS
  14. select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
  15. select GENERIC_CPU_DEVICES
  16. select GENERIC_IOMAP
  17. select GENERIC_STRNCPY_FROM_USER if MMU
  18. select GENERIC_STRNLEN_USER if MMU
  19. select ARCH_WANT_IPC_PARSE_VERSION
  20. select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
  21. select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
  22. select HAVE_MOD_ARCH_SPECIFIC
  23. select MODULES_USE_ELF_REL
  24. select MODULES_USE_ELF_RELA
  25. select OLD_SIGSUSPEND3
  26. select OLD_SIGACTION
  27. config CPU_BIG_ENDIAN
  28. def_bool y
  29. config RWSEM_GENERIC_SPINLOCK
  30. bool
  31. default y
  32. config RWSEM_XCHGADD_ALGORITHM
  33. bool
  34. config ARCH_HAS_ILOG2_U32
  35. bool
  36. config ARCH_HAS_ILOG2_U64
  37. bool
  38. config GENERIC_HWEIGHT
  39. bool
  40. default y
  41. config GENERIC_CALIBRATE_DELAY
  42. bool
  43. default y
  44. config GENERIC_CSUM
  45. bool
  46. config TIME_LOW_RES
  47. bool
  48. default y
  49. config NO_IOPORT_MAP
  50. def_bool y
  51. config NO_DMA
  52. def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
  53. config ZONE_DMA
  54. bool
  55. default y
  56. config HZ
  57. int
  58. default 1000 if CLEOPATRA
  59. default 100
  60. config PGTABLE_LEVELS
  61. default 2 if SUN3 || COLDFIRE
  62. default 3
  63. source "init/Kconfig"
  64. source "kernel/Kconfig.freezer"
  65. config MMU
  66. bool "MMU-based Paged Memory Management Support"
  67. default y
  68. help
  69. Select if you want MMU-based virtualised addressing space
  70. support by paged memory management. If unsure, say 'Y'.
  71. config MMU_MOTOROLA
  72. bool
  73. config MMU_COLDFIRE
  74. bool
  75. config MMU_SUN3
  76. bool
  77. depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
  78. config KEXEC
  79. bool "kexec system call"
  80. depends on M68KCLASSIC
  81. select KEXEC_CORE
  82. help
  83. kexec is a system call that implements the ability to shutdown your
  84. current kernel, and to start another kernel. It is like a reboot
  85. but it is independent of the system firmware. And like a reboot
  86. you can start any kernel with it, not just Linux.
  87. The name comes from the similarity to the exec system call.
  88. It is an ongoing process to be certain the hardware in a machine
  89. is properly shutdown, so do not be surprised if this code does not
  90. initially work for you. As of this writing the exact hardware
  91. interface is strongly in flux, so no good recommendation can be
  92. made.
  93. config BOOTINFO_PROC
  94. bool "Export bootinfo in procfs"
  95. depends on KEXEC && M68KCLASSIC
  96. help
  97. Say Y to export the bootinfo used to boot the kernel in a
  98. "bootinfo" file in procfs. This is useful with kexec.
  99. menu "Platform setup"
  100. source arch/m68k/Kconfig.cpu
  101. source arch/m68k/Kconfig.machine
  102. source arch/m68k/Kconfig.bus
  103. endmenu
  104. menu "Kernel Features"
  105. if COLDFIRE
  106. source "kernel/Kconfig.preempt"
  107. endif
  108. source "mm/Kconfig"
  109. endmenu
  110. menu "Executable file formats"
  111. source "fs/Kconfig.binfmt"
  112. endmenu
  113. if !MMU
  114. menu "Power management options"
  115. config PM
  116. bool "Power Management support"
  117. help
  118. Support processor power management modes
  119. endmenu
  120. endif
  121. source "net/Kconfig"
  122. source "drivers/Kconfig"
  123. source "arch/m68k/Kconfig.devices"
  124. source "fs/Kconfig"
  125. source "arch/m68k/Kconfig.debug"
  126. source "security/Kconfig"
  127. source "crypto/Kconfig"
  128. source "lib/Kconfig"