Kconfig 3.1 KB

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