Kconfig 3.0 KB

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