Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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_CACHE_ALIASING
  8. select ARCH_HAS_CPU_FINALIZE_INIT if MMU
  9. select ARCH_HAS_CURRENT_STACK_POINTER
  10. select ARCH_HAS_DMA_PREP_COHERENT if M68K_NONCOHERENT_DMA && !COLDFIRE
  11. select ARCH_HAS_SYNC_DMA_FOR_DEVICE if M68K_NONCOHERENT_DMA
  12. select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
  13. select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
  14. select ARCH_NO_PREEMPT if !COLDFIRE
  15. select ARCH_USE_MEMTEST if MMU_MOTOROLA
  16. select ARCH_WANT_IPC_PARSE_VERSION
  17. select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
  18. select DMA_DIRECT_REMAP if M68K_NONCOHERENT_DMA && !COLDFIRE
  19. select GENERIC_ATOMIC64
  20. select GENERIC_CPU_DEVICES
  21. select GENERIC_IOMAP if HAS_IOPORT
  22. select GENERIC_IRQ_SHOW
  23. select GENERIC_LIB_ASHLDI3
  24. select GENERIC_LIB_ASHRDI3
  25. select GENERIC_LIB_LSHRDI3
  26. select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA
  27. select HAVE_ARCH_SECCOMP
  28. select HAVE_ARCH_SECCOMP_FILTER
  29. select HAVE_ASM_MODVERSIONS
  30. select HAVE_DEBUG_BUGVERBOSE
  31. select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
  32. select HAVE_MOD_ARCH_SPECIFIC
  33. select HAVE_UID16
  34. select MMU_GATHER_NO_RANGE if MMU
  35. select MODULES_USE_ELF_REL
  36. select MODULES_USE_ELF_RELA
  37. select NO_DMA if !MMU && !COLDFIRE
  38. select OLD_SIGACTION
  39. select OLD_SIGSUSPEND3
  40. select UACCESS_MEMCPY if !MMU
  41. select ZONE_DMA
  42. config CPU_BIG_ENDIAN
  43. def_bool y
  44. config ARCH_HAS_ILOG2_U32
  45. bool
  46. config ARCH_HAS_ILOG2_U64
  47. bool
  48. config GENERIC_HWEIGHT
  49. bool
  50. default y
  51. config GENERIC_CALIBRATE_DELAY
  52. bool
  53. default y
  54. config GENERIC_CSUM
  55. bool
  56. config TIME_LOW_RES
  57. bool
  58. default y
  59. config NO_IOPORT_MAP
  60. def_bool y
  61. config HZ
  62. int
  63. default 1000 if CLEOPATRA
  64. default 100
  65. config PGTABLE_LEVELS
  66. default 2 if SUN3 || COLDFIRE
  67. default 3
  68. config MMU
  69. bool "MMU-based Paged Memory Management Support"
  70. default y
  71. help
  72. Select if you want MMU-based virtualised addressing space
  73. support by paged memory management. If unsure, say 'Y'.
  74. config MMU_MOTOROLA
  75. bool
  76. select HAVE_PAGE_SIZE_4KB
  77. config MMU_COLDFIRE
  78. select HAVE_PAGE_SIZE_8KB
  79. bool
  80. config MMU_SUN3
  81. bool
  82. select HAVE_PAGE_SIZE_8KB
  83. depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
  84. config ARCH_SUPPORTS_KEXEC
  85. def_bool M68KCLASSIC && MMU
  86. config BOOTINFO_PROC
  87. bool "Export bootinfo in procfs"
  88. depends on KEXEC && M68KCLASSIC
  89. help
  90. Say Y to export the bootinfo used to boot the kernel in a
  91. "bootinfo" file in procfs. This is useful with kexec.
  92. menu "Platform setup"
  93. source "arch/m68k/Kconfig.cpu"
  94. source "arch/m68k/Kconfig.machine"
  95. source "arch/m68k/Kconfig.bus"
  96. endmenu
  97. menu "Kernel Features"
  98. endmenu
  99. if !MMU
  100. menu "Power management options"
  101. config PM
  102. bool "Power Management support"
  103. help
  104. Support processor power management modes
  105. endmenu
  106. endif
  107. source "arch/m68k/Kconfig.devices"