xref: /openbmc/linux/arch/m68k/Kconfig (revision a7cc67de)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvaldsconfig M68K
31da177e4SLinus Torvalds	bool
41da177e4SLinus Torvalds	default y
5942fa985SYury Norov	select ARCH_32BIT_OFF_T
6aef0f78eSChristoph Hellwig	select ARCH_HAS_BINFMT_FLAT
79ceecc25SThomas Gleixner	select ARCH_HAS_CPU_FINALIZE_INIT if MMU
8575d6b77SKees Cook	select ARCH_HAS_CURRENT_STACK_POINTER
9f28a1f16SChristoph Hellwig	select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE
109eb8be60SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
11dc072012SGeert Uytterhoeven	select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
121a7f6be5SMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
1387a4c375SChristoph Hellwig	select ARCH_NO_PREEMPT if !COLDFIRE
14376e3fdeSFinn Thain	select ARCH_USE_MEMTEST if MMU_MOTOROLA
15dc072012SGeert Uytterhoeven	select ARCH_WANT_IPC_PARSE_VERSION
16bdd15a28SChristoph Hellwig	select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
1734dc63a5SChristoph Hellwig	select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
18dc072012SGeert Uytterhoeven	select GENERIC_ATOMIC64
19dc072012SGeert Uytterhoeven	select GENERIC_CPU_DEVICES
20dc072012SGeert Uytterhoeven	select GENERIC_IOMAP
21dc072012SGeert Uytterhoeven	select GENERIC_IRQ_SHOW
22fcbfe812SNiklas Schnelle	select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA
236baaade1SMichael Schmitz	select HAVE_ARCH_SECCOMP
246baaade1SMichael Schmitz	select HAVE_ARCH_SECCOMP_FILTER
252ff2b7ecSMasahiro Yamada	select HAVE_ASM_MODVERSIONS
269b2a60c4SCatalin Marinas	select HAVE_DEBUG_BUGVERBOSE
273aec1db0SArnd Bergmann	select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
28786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
29dc072012SGeert Uytterhoeven	select HAVE_UID16
30dc072012SGeert Uytterhoeven	select MMU_GATHER_NO_RANGE if MMU
31786d35d4SDavid Howells	select MODULES_USE_ELF_REL
32786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
33dc072012SGeert Uytterhoeven	select NO_DMA if !MMU && !COLDFIRE
348be433abSAl Viro	select OLD_SIGACTION
35dc072012SGeert Uytterhoeven	select OLD_SIGSUSPEND3
36d3876ff7SLinus Torvalds	select UACCESS_MEMCPY if !MMU
3763703f37SKefeng Wang	select ZONE_DMA
381da177e4SLinus Torvalds
394c97a0c8SBabu Mogerconfig CPU_BIG_ENDIAN
404c97a0c8SBabu Moger	def_bool y
414c97a0c8SBabu Moger
42f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
43f0d1b0b3SDavid Howells	bool
44f0d1b0b3SDavid Howells
45f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
46f0d1b0b3SDavid Howells	bool
47f0d1b0b3SDavid Howells
48ba1a5b32SAkinobu Mitaconfig GENERIC_HWEIGHT
49ba1a5b32SAkinobu Mita	bool
50ba1a5b32SAkinobu Mita	default y
51ba1a5b32SAkinobu Mita
521da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
531da177e4SLinus Torvalds	bool
541da177e4SLinus Torvalds	default y
551da177e4SLinus Torvalds
567f73bafcSGreg Ungererconfig GENERIC_CSUM
577f73bafcSGreg Ungerer	bool
587f73bafcSGreg Ungerer
5906027bddSIngo Molnarconfig TIME_LOW_RES
6006027bddSIngo Molnar	bool
6106027bddSIngo Molnar	default y
6206027bddSIngo Molnar
63ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP
645ea81769SAl Viro	def_bool y
655ea81769SAl Viro
66bdc80787SH. Peter Anvinconfig HZ
67bdc80787SH. Peter Anvin	int
6866d857b0SGreg Ungerer	default 1000 if CLEOPATRA
69bdc80787SH. Peter Anvin	default 100
70bdc80787SH. Peter Anvin
71980d5b73SKirill A. Shutemovconfig PGTABLE_LEVELS
72980d5b73SKirill A. Shutemov	default 2 if SUN3 || COLDFIRE
73980d5b73SKirill A. Shutemov	default 3
74980d5b73SKirill A. Shutemov
7566d857b0SGreg Ungererconfig MMU
7666d857b0SGreg Ungerer	bool "MMU-based Paged Memory Management Support"
7766d857b0SGreg Ungerer	default y
7866d857b0SGreg Ungerer	help
7966d857b0SGreg Ungerer	  Select if you want MMU-based virtualised addressing space
8066d857b0SGreg Ungerer	  support by paged memory management. If unsure, say 'Y'.
8166d857b0SGreg Ungerer
820e152d80SGreg Ungererconfig MMU_MOTOROLA
830e152d80SGreg Ungerer	bool
841da177e4SLinus Torvalds
850e6782c8SGreg Ungererconfig MMU_COLDFIRE
860e6782c8SGreg Ungerer	bool
870e6782c8SGreg Ungerer
880e152d80SGreg Ungererconfig MMU_SUN3
890e152d80SGreg Ungerer	bool
900e6782c8SGreg Ungerer	depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
910e152d80SGreg Ungerer
92*a7cc67deSEric DeVolderconfig ARCH_SUPPORTS_KEXEC
93*a7cc67deSEric DeVolder	def_bool M68KCLASSIC && MMU
947d5f5fa2SGeert Uytterhoeven
957bc1e4d8SGeert Uytterhoevenconfig BOOTINFO_PROC
967bc1e4d8SGeert Uytterhoeven	bool "Export bootinfo in procfs"
977bc1e4d8SGeert Uytterhoeven	depends on KEXEC && M68KCLASSIC
987bc1e4d8SGeert Uytterhoeven	help
997bc1e4d8SGeert Uytterhoeven	  Say Y to export the bootinfo used to boot the kernel in a
1007bc1e4d8SGeert Uytterhoeven	  "bootinfo" file in procfs.  This is useful with kexec.
1017bc1e4d8SGeert Uytterhoeven
1020e152d80SGreg Ungerermenu "Platform setup"
1030e152d80SGreg Ungerer
1048636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.cpu"
1050e152d80SGreg Ungerer
1068636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.machine"
1070e152d80SGreg Ungerer
1088636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.bus"
1090e152d80SGreg Ungerer
1100e152d80SGreg Ungererendmenu
1110e152d80SGreg Ungerer
1120e152d80SGreg Ungerermenu "Kernel Features"
1130e152d80SGreg Ungerer
11466d857b0SGreg Ungererendmenu
11566d857b0SGreg Ungerer
11666d857b0SGreg Ungererif !MMU
11766d857b0SGreg Ungerermenu "Power management options"
11866d857b0SGreg Ungerer
11966d857b0SGreg Ungererconfig PM
12066d857b0SGreg Ungerer	bool "Power Management support"
1211da177e4SLinus Torvalds	help
12266d857b0SGreg Ungerer	  Support processor power management modes
1231da177e4SLinus Torvalds
1241da177e4SLinus Torvaldsendmenu
12566d857b0SGreg Ungererendif
1261da177e4SLinus Torvalds
1270e152d80SGreg Ungerersource "arch/m68k/Kconfig.devices"
128