xref: /openbmc/linux/arch/m68k/Kconfig (revision 34dc63a5)
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
634dc63a5SChristoph Hellwig	select ARCH_HAS_DMA_MMAP_PGPROT if MMU && !COLDFIRE
79eb8be60SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
81a7f6be5SMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
907c75d7aSVladimir Murzin	select ARCH_NO_COHERENT_DMA_MMAP if !MMU
1087a4c375SChristoph Hellwig	select ARCH_NO_PREEMPT if !COLDFIRE
1134dc63a5SChristoph Hellwig	select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
12ec7748b5SSam Ravnborg	select HAVE_IDE
1366d857b0SGreg Ungerer	select HAVE_AOUT if MMU
149b2a60c4SCatalin Marinas	select HAVE_DEBUG_BUGVERBOSE
15d890d739SGeert Uytterhoeven	select GENERIC_IRQ_SHOW
1642b1b946SGreg Ungerer	select GENERIC_ATOMIC64
17af1839ebSCatalin Marinas	select HAVE_UID16
184febd95aSStephen Rothwell	select VIRT_TO_BUS
19df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
209f13a1fdSBen Hutchings	select GENERIC_CPU_DEVICES
21f79b8592SGreg Ungerer	select GENERIC_IOMAP
22d8ce7263SGeert Uytterhoeven	select GENERIC_STRNCPY_FROM_USER if MMU
23d8ce7263SGeert Uytterhoeven	select GENERIC_STRNLEN_USER if MMU
24c1d7e01dSWill Deacon	select ARCH_WANT_IPC_PARSE_VERSION
25e571c58fSFinn Thain	select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
26786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
27786d35d4SDavid Howells	select MODULES_USE_ELF_REL
28786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
291ba3e7efSAl Viro	select OLD_SIGSUSPEND3
308be433abSAl Viro	select OLD_SIGACTION
316137fed0SPeter Zijlstra	select MMU_GATHER_NO_RANGE if MMU
321da177e4SLinus Torvalds
334c97a0c8SBabu Mogerconfig CPU_BIG_ENDIAN
344c97a0c8SBabu Moger	def_bool y
354c97a0c8SBabu Moger
36f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
37f0d1b0b3SDavid Howells	bool
38f0d1b0b3SDavid Howells
39f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
40f0d1b0b3SDavid Howells	bool
41f0d1b0b3SDavid Howells
42ba1a5b32SAkinobu Mitaconfig GENERIC_HWEIGHT
43ba1a5b32SAkinobu Mita	bool
44ba1a5b32SAkinobu Mita	default y
45ba1a5b32SAkinobu Mita
461da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
471da177e4SLinus Torvalds	bool
481da177e4SLinus Torvalds	default y
491da177e4SLinus Torvalds
507f73bafcSGreg Ungererconfig GENERIC_CSUM
517f73bafcSGreg Ungerer	bool
527f73bafcSGreg Ungerer
5306027bddSIngo Molnarconfig TIME_LOW_RES
5406027bddSIngo Molnar	bool
5506027bddSIngo Molnar	default y
5606027bddSIngo Molnar
57ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP
585ea81769SAl Viro	def_bool y
595ea81769SAl Viro
60dfedfaf5SAl Viroconfig NO_DMA
6166d857b0SGreg Ungerer	def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
62dfedfaf5SAl Viro
6366d857b0SGreg Ungererconfig ZONE_DMA
6466d857b0SGreg Ungerer	bool
6566d857b0SGreg Ungerer	default y
66171d809dSGreg Ungerer
67bdc80787SH. Peter Anvinconfig HZ
68bdc80787SH. Peter Anvin	int
6966d857b0SGreg Ungerer	default 1000 if CLEOPATRA
70bdc80787SH. Peter Anvin	default 100
71bdc80787SH. Peter Anvin
72980d5b73SKirill A. Shutemovconfig PGTABLE_LEVELS
73980d5b73SKirill A. Shutemov	default 2 if SUN3 || COLDFIRE
74980d5b73SKirill A. Shutemov	default 3
75980d5b73SKirill A. Shutemov
7666d857b0SGreg Ungererconfig MMU
7766d857b0SGreg Ungerer	bool "MMU-based Paged Memory Management Support"
7866d857b0SGreg Ungerer	default y
7966d857b0SGreg Ungerer	help
8066d857b0SGreg Ungerer	  Select if you want MMU-based virtualised addressing space
8166d857b0SGreg Ungerer	  support by paged memory management. If unsure, say 'Y'.
8266d857b0SGreg Ungerer
830e152d80SGreg Ungererconfig MMU_MOTOROLA
840e152d80SGreg Ungerer	bool
851da177e4SLinus Torvalds
860e6782c8SGreg Ungererconfig MMU_COLDFIRE
870e6782c8SGreg Ungerer	bool
880e6782c8SGreg Ungerer
890e152d80SGreg Ungererconfig MMU_SUN3
900e152d80SGreg Ungerer	bool
910e6782c8SGreg Ungerer	depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
920e152d80SGreg Ungerer
937d5f5fa2SGeert Uytterhoevenconfig KEXEC
947d5f5fa2SGeert Uytterhoeven	bool "kexec system call"
957d5f5fa2SGeert Uytterhoeven	depends on M68KCLASSIC
962965faa5SDave Young	select KEXEC_CORE
977d5f5fa2SGeert Uytterhoeven	help
987d5f5fa2SGeert Uytterhoeven	  kexec is a system call that implements the ability to shutdown your
997d5f5fa2SGeert Uytterhoeven	  current kernel, and to start another kernel.  It is like a reboot
1007d5f5fa2SGeert Uytterhoeven	  but it is independent of the system firmware.   And like a reboot
1017d5f5fa2SGeert Uytterhoeven	  you can start any kernel with it, not just Linux.
1027d5f5fa2SGeert Uytterhoeven
1037d5f5fa2SGeert Uytterhoeven	  The name comes from the similarity to the exec system call.
1047d5f5fa2SGeert Uytterhoeven
1057d5f5fa2SGeert Uytterhoeven	  It is an ongoing process to be certain the hardware in a machine
1067d5f5fa2SGeert Uytterhoeven	  is properly shutdown, so do not be surprised if this code does not
1077d5f5fa2SGeert Uytterhoeven	  initially work for you.  As of this writing the exact hardware
1087d5f5fa2SGeert Uytterhoeven	  interface is strongly in flux, so no good recommendation can be
1097d5f5fa2SGeert Uytterhoeven	  made.
1107d5f5fa2SGeert Uytterhoeven
1117bc1e4d8SGeert Uytterhoevenconfig BOOTINFO_PROC
1127bc1e4d8SGeert Uytterhoeven	bool "Export bootinfo in procfs"
1137bc1e4d8SGeert Uytterhoeven	depends on KEXEC && M68KCLASSIC
1147bc1e4d8SGeert Uytterhoeven	help
1157bc1e4d8SGeert Uytterhoeven	  Say Y to export the bootinfo used to boot the kernel in a
1167bc1e4d8SGeert Uytterhoeven	  "bootinfo" file in procfs.  This is useful with kexec.
1177bc1e4d8SGeert Uytterhoeven
1180e152d80SGreg Ungerermenu "Platform setup"
1190e152d80SGreg Ungerer
1208636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.cpu"
1210e152d80SGreg Ungerer
1228636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.machine"
1230e152d80SGreg Ungerer
1248636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.bus"
1250e152d80SGreg Ungerer
1260e152d80SGreg Ungererendmenu
1270e152d80SGreg Ungerer
1280e152d80SGreg Ungerermenu "Kernel Features"
1290e152d80SGreg Ungerer
13066d857b0SGreg Ungererendmenu
13166d857b0SGreg Ungerer
13266d857b0SGreg Ungererif !MMU
13366d857b0SGreg Ungerermenu "Power management options"
13466d857b0SGreg Ungerer
13566d857b0SGreg Ungererconfig PM
13666d857b0SGreg Ungerer	bool "Power Management support"
1371da177e4SLinus Torvalds	help
13866d857b0SGreg Ungerer	  Support processor power management modes
1391da177e4SLinus Torvalds
1401da177e4SLinus Torvaldsendmenu
14166d857b0SGreg Ungererendif
1421da177e4SLinus Torvalds
1430e152d80SGreg Ungerersource "arch/m68k/Kconfig.devices"
144