Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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 && MMU && !COLDFIRE
  22. select GENERIC_IRQ_SHOW
  23. select GENERIC_LIB_ASHLDI3
  24. select GENERIC_LIB_ASHRDI3
  25. select GENERIC_LIB_LSHRDI3
  26. select GENERIC_LIB_MULDI3
  27. select GENERIC_PCI_IOMAP if PCI
  28. select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA
  29. select HAVE_ARCH_LIBGCC_H
  30. select HAVE_ARCH_SECCOMP
  31. select HAVE_ARCH_SECCOMP_FILTER
  32. select HAVE_ASM_MODVERSIONS
  33. select HAVE_DEBUG_BUGVERBOSE
  34. select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
  35. select HAVE_LD_DEAD_CODE_DATA_ELIMINATION
  36. select HAVE_MOD_ARCH_SPECIFIC
  37. select HAVE_UID16
  38. select MMU_GATHER_NO_RANGE if MMU
  39. select MODULES_USE_ELF_REL
  40. select MODULES_USE_ELF_RELA
  41. select NO_DMA if !MMU && !COLDFIRE
  42. select OLD_SIGACTION
  43. select OLD_SIGSUSPEND3
  44. select UACCESS_MEMCPY if !MMU
  45. select ZONE_DMA
  46. config CPU_BIG_ENDIAN
  47. def_bool y
  48. config ARCH_HAS_ILOG2_U32
  49. bool
  50. config ARCH_HAS_ILOG2_U64
  51. bool
  52. config GENERIC_HWEIGHT
  53. bool
  54. default y
  55. config GENERIC_CALIBRATE_DELAY
  56. bool
  57. default y
  58. config GENERIC_CSUM
  59. bool
  60. config TIME_LOW_RES
  61. bool
  62. default y
  63. config NO_IOPORT_MAP
  64. def_bool y
  65. config HZ
  66. int
  67. default 1000 if CLEOPATRA
  68. default 100
  69. config PGTABLE_LEVELS
  70. default 2 if SUN3 || COLDFIRE
  71. default 3
  72. config MMU
  73. bool "MMU-based Paged Memory Management Support"
  74. default y
  75. help
  76. Select if you want MMU-based virtualised addressing space
  77. support by paged memory management. If unsure, say 'Y'.
  78. config MMU_MOTOROLA
  79. def_bool MMU && M68KCLASSIC
  80. select HAVE_PAGE_SIZE_4KB
  81. config MMU_COLDFIRE
  82. def_bool MMU && COLDFIRE
  83. select HAVE_PAGE_SIZE_8KB
  84. config MMU_SUN3
  85. def_bool MMU && SUN3
  86. select HAVE_PAGE_SIZE_8KB
  87. config ARCH_SUPPORTS_KEXEC
  88. def_bool (M68KCLASSIC || SUN3) && MMU
  89. config BOOTINFO_PROC
  90. bool "Export bootinfo in procfs"
  91. depends on KEXEC && (M68KCLASSIC || SUN3)
  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"