Kconfig 3.0 KB

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