xref: /openbmc/linux/arch/m68k/Kconfig (revision d355a08e)
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
7575d6b77SKees Cook	select ARCH_HAS_CURRENT_STACK_POINTER
8f28a1f16SChristoph Hellwig	select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE
99eb8be60SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
10dc072012SGeert Uytterhoeven	select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
111a7f6be5SMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
1287a4c375SChristoph Hellwig	select ARCH_NO_PREEMPT if !COLDFIRE
13376e3fdeSFinn Thain	select ARCH_USE_MEMTEST if MMU_MOTOROLA
14dc072012SGeert Uytterhoeven	select ARCH_WANT_IPC_PARSE_VERSION
15bdd15a28SChristoph Hellwig	select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
1634dc63a5SChristoph Hellwig	select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
17dc072012SGeert Uytterhoeven	select GENERIC_ATOMIC64
18dc072012SGeert Uytterhoeven	select GENERIC_CPU_DEVICES
19dc072012SGeert Uytterhoeven	select GENERIC_IOMAP
20dc072012SGeert Uytterhoeven	select GENERIC_IRQ_SHOW
212ff2b7ecSMasahiro Yamada	select HAVE_ASM_MODVERSIONS
229b2a60c4SCatalin Marinas	select HAVE_DEBUG_BUGVERBOSE
233aec1db0SArnd Bergmann	select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
24786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
25dc072012SGeert Uytterhoeven	select HAVE_UID16
26dc072012SGeert Uytterhoeven	select MMU_GATHER_NO_RANGE if MMU
27786d35d4SDavid Howells	select MODULES_USE_ELF_REL
28786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
29dc072012SGeert Uytterhoeven	select NO_DMA if !MMU && !COLDFIRE
308be433abSAl Viro	select OLD_SIGACTION
31dc072012SGeert Uytterhoeven	select OLD_SIGSUSPEND3
32d3876ff7SLinus Torvalds	select UACCESS_MEMCPY if !MMU
3363703f37SKefeng Wang	select ZONE_DMA
341da177e4SLinus Torvalds
354c97a0c8SBabu Mogerconfig CPU_BIG_ENDIAN
364c97a0c8SBabu Moger	def_bool y
374c97a0c8SBabu Moger
38f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
39f0d1b0b3SDavid Howells	bool
40f0d1b0b3SDavid Howells
41f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
42f0d1b0b3SDavid Howells	bool
43f0d1b0b3SDavid Howells
44ba1a5b32SAkinobu Mitaconfig GENERIC_HWEIGHT
45ba1a5b32SAkinobu Mita	bool
46ba1a5b32SAkinobu Mita	default y
47ba1a5b32SAkinobu Mita
481da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
491da177e4SLinus Torvalds	bool
501da177e4SLinus Torvalds	default y
511da177e4SLinus Torvalds
527f73bafcSGreg Ungererconfig GENERIC_CSUM
537f73bafcSGreg Ungerer	bool
547f73bafcSGreg Ungerer
5506027bddSIngo Molnarconfig TIME_LOW_RES
5606027bddSIngo Molnar	bool
5706027bddSIngo Molnar	default y
5806027bddSIngo Molnar
59ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP
605ea81769SAl Viro	def_bool y
615ea81769SAl Viro
62bdc80787SH. Peter Anvinconfig HZ
63bdc80787SH. Peter Anvin	int
6466d857b0SGreg Ungerer	default 1000 if CLEOPATRA
65bdc80787SH. Peter Anvin	default 100
66bdc80787SH. Peter Anvin
67980d5b73SKirill A. Shutemovconfig PGTABLE_LEVELS
68980d5b73SKirill A. Shutemov	default 2 if SUN3 || COLDFIRE
69980d5b73SKirill A. Shutemov	default 3
70980d5b73SKirill A. Shutemov
7166d857b0SGreg Ungererconfig MMU
7266d857b0SGreg Ungerer	bool "MMU-based Paged Memory Management Support"
7366d857b0SGreg Ungerer	default y
7466d857b0SGreg Ungerer	help
7566d857b0SGreg Ungerer	  Select if you want MMU-based virtualised addressing space
7666d857b0SGreg Ungerer	  support by paged memory management. If unsure, say 'Y'.
7766d857b0SGreg Ungerer
780e152d80SGreg Ungererconfig MMU_MOTOROLA
790e152d80SGreg Ungerer	bool
801da177e4SLinus Torvalds
810e6782c8SGreg Ungererconfig MMU_COLDFIRE
820e6782c8SGreg Ungerer	bool
830e6782c8SGreg Ungerer
840e152d80SGreg Ungererconfig MMU_SUN3
850e152d80SGreg Ungerer	bool
860e6782c8SGreg Ungerer	depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
870e152d80SGreg Ungerer
887d5f5fa2SGeert Uytterhoevenconfig KEXEC
897d5f5fa2SGeert Uytterhoeven	bool "kexec system call"
90*d355a08eSGreg Ungerer	depends on M68KCLASSIC && MMU
912965faa5SDave Young	select KEXEC_CORE
927d5f5fa2SGeert Uytterhoeven	help
937d5f5fa2SGeert Uytterhoeven	  kexec is a system call that implements the ability to shutdown your
947d5f5fa2SGeert Uytterhoeven	  current kernel, and to start another kernel.  It is like a reboot
957d5f5fa2SGeert Uytterhoeven	  but it is independent of the system firmware.   And like a reboot
967d5f5fa2SGeert Uytterhoeven	  you can start any kernel with it, not just Linux.
977d5f5fa2SGeert Uytterhoeven
987d5f5fa2SGeert Uytterhoeven	  The name comes from the similarity to the exec system call.
997d5f5fa2SGeert Uytterhoeven
1007d5f5fa2SGeert Uytterhoeven	  It is an ongoing process to be certain the hardware in a machine
1017d5f5fa2SGeert Uytterhoeven	  is properly shutdown, so do not be surprised if this code does not
1027d5f5fa2SGeert Uytterhoeven	  initially work for you.  As of this writing the exact hardware
1037d5f5fa2SGeert Uytterhoeven	  interface is strongly in flux, so no good recommendation can be
1047d5f5fa2SGeert Uytterhoeven	  made.
1057d5f5fa2SGeert Uytterhoeven
1067bc1e4d8SGeert Uytterhoevenconfig BOOTINFO_PROC
1077bc1e4d8SGeert Uytterhoeven	bool "Export bootinfo in procfs"
1087bc1e4d8SGeert Uytterhoeven	depends on KEXEC && M68KCLASSIC
1097bc1e4d8SGeert Uytterhoeven	help
1107bc1e4d8SGeert Uytterhoeven	  Say Y to export the bootinfo used to boot the kernel in a
1117bc1e4d8SGeert Uytterhoeven	  "bootinfo" file in procfs.  This is useful with kexec.
1127bc1e4d8SGeert Uytterhoeven
1130e152d80SGreg Ungerermenu "Platform setup"
1140e152d80SGreg Ungerer
1158636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.cpu"
1160e152d80SGreg Ungerer
1178636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.machine"
1180e152d80SGreg Ungerer
1198636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.bus"
1200e152d80SGreg Ungerer
1210e152d80SGreg Ungererendmenu
1220e152d80SGreg Ungerer
1230e152d80SGreg Ungerermenu "Kernel Features"
1240e152d80SGreg Ungerer
12566d857b0SGreg Ungererendmenu
12666d857b0SGreg Ungerer
12766d857b0SGreg Ungererif !MMU
12866d857b0SGreg Ungerermenu "Power management options"
12966d857b0SGreg Ungerer
13066d857b0SGreg Ungererconfig PM
13166d857b0SGreg Ungerer	bool "Power Management support"
1321da177e4SLinus Torvalds	help
13366d857b0SGreg Ungerer	  Support processor power management modes
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvaldsendmenu
13666d857b0SGreg Ungererendif
1371da177e4SLinus Torvalds
1380e152d80SGreg Ungerersource "arch/m68k/Kconfig.devices"
139