xref: /openbmc/linux/arch/m68k/Kconfig (revision 1008a115)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvaldsconfig M68K
31da177e4SLinus Torvalds	bool
41da177e4SLinus Torvalds	default y
59eb8be60SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
61a7f6be5SMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
707c75d7aSVladimir Murzin	select ARCH_NO_COHERENT_DMA_MMAP if !MMU
8ec7748b5SSam Ravnborg	select HAVE_IDE
966d857b0SGreg Ungerer	select HAVE_AOUT if MMU
109b2a60c4SCatalin Marinas	select HAVE_DEBUG_BUGVERBOSE
11d890d739SGeert Uytterhoeven	select GENERIC_IRQ_SHOW
1242b1b946SGreg Ungerer	select GENERIC_ATOMIC64
13af1839ebSCatalin Marinas	select HAVE_UID16
144febd95aSStephen Rothwell	select VIRT_TO_BUS
15df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
169f13a1fdSBen Hutchings	select GENERIC_CPU_DEVICES
17f79b8592SGreg Ungerer	select GENERIC_IOMAP
18d8ce7263SGeert Uytterhoeven	select GENERIC_STRNCPY_FROM_USER if MMU
19d8ce7263SGeert Uytterhoeven	select GENERIC_STRNLEN_USER if MMU
20c1d7e01dSWill Deacon	select ARCH_WANT_IPC_PARSE_VERSION
2160a5e4c3SAnna-Maria Gleixner	select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
22e571c58fSFinn Thain	select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
23786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
24786d35d4SDavid Howells	select MODULES_USE_ELF_REL
25786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
261ba3e7efSAl Viro	select OLD_SIGSUSPEND3
278be433abSAl Viro	select OLD_SIGACTION
289eb8be60SChristoph Hellwig	select DMA_NONCOHERENT_OPS if HAS_DMA
291008a115SMike Rapoport	select HAVE_MEMBLOCK
301008a115SMike Rapoport	select ARCH_DISCARD_MEMBLOCK
311008a115SMike Rapoport	select NO_BOOTMEM
321da177e4SLinus Torvalds
334c97a0c8SBabu Mogerconfig CPU_BIG_ENDIAN
344c97a0c8SBabu Moger	def_bool y
354c97a0c8SBabu Moger
361da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
371da177e4SLinus Torvalds	bool
381da177e4SLinus Torvalds	default y
391da177e4SLinus Torvalds
401da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
411da177e4SLinus Torvalds	bool
421da177e4SLinus Torvalds
43f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
44f0d1b0b3SDavid Howells	bool
45f0d1b0b3SDavid Howells
46f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
47f0d1b0b3SDavid Howells	bool
48f0d1b0b3SDavid Howells
49ba1a5b32SAkinobu Mitaconfig GENERIC_HWEIGHT
50ba1a5b32SAkinobu Mita	bool
51ba1a5b32SAkinobu Mita	default y
52ba1a5b32SAkinobu Mita
531da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
541da177e4SLinus Torvalds	bool
551da177e4SLinus Torvalds	default y
561da177e4SLinus Torvalds
577f73bafcSGreg Ungererconfig GENERIC_CSUM
587f73bafcSGreg Ungerer	bool
597f73bafcSGreg Ungerer
6006027bddSIngo Molnarconfig TIME_LOW_RES
6106027bddSIngo Molnar	bool
6206027bddSIngo Molnar	default y
6306027bddSIngo Molnar
64ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP
655ea81769SAl Viro	def_bool y
665ea81769SAl Viro
67dfedfaf5SAl Viroconfig NO_DMA
6866d857b0SGreg Ungerer	def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
69dfedfaf5SAl Viro
7066d857b0SGreg Ungererconfig ZONE_DMA
7166d857b0SGreg Ungerer	bool
7266d857b0SGreg Ungerer	default y
73171d809dSGreg Ungerer
74bdc80787SH. Peter Anvinconfig HZ
75bdc80787SH. Peter Anvin	int
7666d857b0SGreg Ungerer	default 1000 if CLEOPATRA
77bdc80787SH. Peter Anvin	default 100
78bdc80787SH. Peter Anvin
79980d5b73SKirill A. Shutemovconfig PGTABLE_LEVELS
80980d5b73SKirill A. Shutemov	default 2 if SUN3 || COLDFIRE
81980d5b73SKirill A. Shutemov	default 3
82980d5b73SKirill A. Shutemov
831da177e4SLinus Torvaldssource "init/Kconfig"
841da177e4SLinus Torvalds
85dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
86dc52ddc0SMatt Helsley
8766d857b0SGreg Ungererconfig MMU
8866d857b0SGreg Ungerer	bool "MMU-based Paged Memory Management Support"
8966d857b0SGreg Ungerer	default y
9066d857b0SGreg Ungerer	help
9166d857b0SGreg Ungerer	  Select if you want MMU-based virtualised addressing space
9266d857b0SGreg Ungerer	  support by paged memory management. If unsure, say 'Y'.
9366d857b0SGreg Ungerer
940e152d80SGreg Ungererconfig MMU_MOTOROLA
950e152d80SGreg Ungerer	bool
961da177e4SLinus Torvalds
970e6782c8SGreg Ungererconfig MMU_COLDFIRE
980e6782c8SGreg Ungerer	bool
990e6782c8SGreg Ungerer
1000e152d80SGreg Ungererconfig MMU_SUN3
1010e152d80SGreg Ungerer	bool
1020e6782c8SGreg Ungerer	depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
1030e152d80SGreg Ungerer
1047d5f5fa2SGeert Uytterhoevenconfig KEXEC
1057d5f5fa2SGeert Uytterhoeven	bool "kexec system call"
1067d5f5fa2SGeert Uytterhoeven	depends on M68KCLASSIC
1072965faa5SDave Young	select KEXEC_CORE
1087d5f5fa2SGeert Uytterhoeven	help
1097d5f5fa2SGeert Uytterhoeven	  kexec is a system call that implements the ability to shutdown your
1107d5f5fa2SGeert Uytterhoeven	  current kernel, and to start another kernel.  It is like a reboot
1117d5f5fa2SGeert Uytterhoeven	  but it is independent of the system firmware.   And like a reboot
1127d5f5fa2SGeert Uytterhoeven	  you can start any kernel with it, not just Linux.
1137d5f5fa2SGeert Uytterhoeven
1147d5f5fa2SGeert Uytterhoeven	  The name comes from the similarity to the exec system call.
1157d5f5fa2SGeert Uytterhoeven
1167d5f5fa2SGeert Uytterhoeven	  It is an ongoing process to be certain the hardware in a machine
1177d5f5fa2SGeert Uytterhoeven	  is properly shutdown, so do not be surprised if this code does not
1187d5f5fa2SGeert Uytterhoeven	  initially work for you.  As of this writing the exact hardware
1197d5f5fa2SGeert Uytterhoeven	  interface is strongly in flux, so no good recommendation can be
1207d5f5fa2SGeert Uytterhoeven	  made.
1217d5f5fa2SGeert Uytterhoeven
1227bc1e4d8SGeert Uytterhoevenconfig BOOTINFO_PROC
1237bc1e4d8SGeert Uytterhoeven	bool "Export bootinfo in procfs"
1247bc1e4d8SGeert Uytterhoeven	depends on KEXEC && M68KCLASSIC
1257bc1e4d8SGeert Uytterhoeven	help
1267bc1e4d8SGeert Uytterhoeven	  Say Y to export the bootinfo used to boot the kernel in a
1277bc1e4d8SGeert Uytterhoeven	  "bootinfo" file in procfs.  This is useful with kexec.
1287bc1e4d8SGeert Uytterhoeven
1290e152d80SGreg Ungerermenu "Platform setup"
1300e152d80SGreg Ungerer
1310e152d80SGreg Ungerersource arch/m68k/Kconfig.cpu
1320e152d80SGreg Ungerer
1330e152d80SGreg Ungerersource arch/m68k/Kconfig.machine
1340e152d80SGreg Ungerer
1350e152d80SGreg Ungerersource arch/m68k/Kconfig.bus
1360e152d80SGreg Ungerer
1370e152d80SGreg Ungererendmenu
1380e152d80SGreg Ungerer
1390e152d80SGreg Ungerermenu "Kernel Features"
1400e152d80SGreg Ungerer
1410e152d80SGreg Ungererif COLDFIRE
1420e152d80SGreg Ungerersource "kernel/Kconfig.preempt"
14366d857b0SGreg Ungererendif
1440e152d80SGreg Ungerer
1453f22ab27SDave Hansensource "mm/Kconfig"
1463f22ab27SDave Hansen
1471da177e4SLinus Torvaldsendmenu
1481da177e4SLinus Torvalds
14966d857b0SGreg Ungerermenu "Executable file formats"
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
1521da177e4SLinus Torvalds
15366d857b0SGreg Ungererendmenu
15466d857b0SGreg Ungerer
15566d857b0SGreg Ungererif !MMU
15666d857b0SGreg Ungerermenu "Power management options"
15766d857b0SGreg Ungerer
15866d857b0SGreg Ungererconfig PM
15966d857b0SGreg Ungerer	bool "Power Management support"
1601da177e4SLinus Torvalds	help
16166d857b0SGreg Ungerer	  Support processor power management modes
1621da177e4SLinus Torvalds
1631da177e4SLinus Torvaldsendmenu
16466d857b0SGreg Ungererendif
1651da177e4SLinus Torvalds
166d5950b43SSam Ravnborgsource "net/Kconfig"
167d5950b43SSam Ravnborg
1681da177e4SLinus Torvaldssource "drivers/Kconfig"
1691da177e4SLinus Torvalds
1700e152d80SGreg Ungerersource "arch/m68k/Kconfig.devices"
17166d857b0SGreg Ungerer
1721da177e4SLinus Torvaldssource "fs/Kconfig"
1731da177e4SLinus Torvalds
1741da177e4SLinus Torvaldssource "arch/m68k/Kconfig.debug"
1751da177e4SLinus Torvalds
1761da177e4SLinus Torvaldssource "security/Kconfig"
1771da177e4SLinus Torvalds
1781da177e4SLinus Torvaldssource "crypto/Kconfig"
1791da177e4SLinus Torvalds
1801da177e4SLinus Torvaldssource "lib/Kconfig"
181