Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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_DIRECT_OPS if HAS_DMA
  30. select ARCH_DISCARD_MEMBLOCK
  31. config CPU_BIG_ENDIAN
  32. def_bool y
  33. config RWSEM_GENERIC_SPINLOCK
  34. bool
  35. default y
  36. config RWSEM_XCHGADD_ALGORITHM
  37. bool
  38. config ARCH_HAS_ILOG2_U32
  39. bool
  40. config ARCH_HAS_ILOG2_U64
  41. bool
  42. config GENERIC_HWEIGHT
  43. bool
  44. default y
  45. config GENERIC_CALIBRATE_DELAY
  46. bool
  47. default y
  48. config GENERIC_CSUM
  49. bool
  50. config TIME_LOW_RES
  51. bool
  52. default y
  53. config NO_IOPORT_MAP
  54. def_bool y
  55. config NO_DMA
  56. def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
  57. config ZONE_DMA
  58. bool
  59. default y
  60. config HZ
  61. int
  62. default 1000 if CLEOPATRA
  63. default 100
  64. config PGTABLE_LEVELS
  65. default 2 if SUN3 || COLDFIRE
  66. default 3
  67. config MMU
  68. bool "MMU-based Paged Memory Management Support"
  69. default y
  70. help
  71. Select if you want MMU-based virtualised addressing space
  72. support by paged memory management. If unsure, say 'Y'.
  73. config MMU_MOTOROLA
  74. bool
  75. config MMU_COLDFIRE
  76. bool
  77. config MMU_SUN3
  78. bool
  79. depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
  80. config KEXEC
  81. bool "kexec system call"
  82. depends on M68KCLASSIC
  83. select KEXEC_CORE
  84. help
  85. kexec is a system call that implements the ability to shutdown your
  86. current kernel, and to start another kernel. It is like a reboot
  87. but it is independent of the system firmware. And like a reboot
  88. you can start any kernel with it, not just Linux.
  89. The name comes from the similarity to the exec system call.
  90. It is an ongoing process to be certain the hardware in a machine
  91. is properly shutdown, so do not be surprised if this code does not
  92. initially work for you. As of this writing the exact hardware
  93. interface is strongly in flux, so no good recommendation can be
  94. made.
  95. config BOOTINFO_PROC
  96. bool "Export bootinfo in procfs"
  97. depends on KEXEC && M68KCLASSIC
  98. help
  99. Say Y to export the bootinfo used to boot the kernel in a
  100. "bootinfo" file in procfs. This is useful with kexec.
  101. menu "Platform setup"
  102. source arch/m68k/Kconfig.cpu
  103. source arch/m68k/Kconfig.machine
  104. source arch/m68k/Kconfig.bus
  105. endmenu
  106. menu "Kernel Features"
  107. endmenu
  108. if !MMU
  109. menu "Power management options"
  110. config PM
  111. bool "Power Management support"
  112. help
  113. Support processor power management modes
  114. endmenu
  115. endif
  116. source "arch/m68k/Kconfig.devices"