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 7c66b7b95SGeert Uytterhoeven select ARCH_HAS_CPU_CACHE_ALIASING 89ceecc25SThomas Gleixner select ARCH_HAS_CPU_FINALIZE_INIT if MMU 9575d6b77SKees Cook select ARCH_HAS_CURRENT_STACK_POINTER 109e28bf8bSChristoph Hellwig select ARCH_HAS_DMA_PREP_COHERENT if M68K_NONCOHERENT_DMA && !COLDFIRE 119e28bf8bSChristoph Hellwig select ARCH_HAS_SYNC_DMA_FOR_DEVICE if M68K_NONCOHERENT_DMA 12dc072012SGeert Uytterhoeven select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS 131a7f6be5SMark Salter select ARCH_MIGHT_HAVE_PC_PARPORT if ISA 1487a4c375SChristoph Hellwig select ARCH_NO_PREEMPT if !COLDFIRE 15376e3fdeSFinn Thain select ARCH_USE_MEMTEST if MMU_MOTOROLA 16dc072012SGeert Uytterhoeven select ARCH_WANT_IPC_PARSE_VERSION 17bdd15a28SChristoph Hellwig select BINFMT_FLAT_ARGVP_ENVP_ON_STACK 189e28bf8bSChristoph Hellwig select DMA_DIRECT_REMAP if M68K_NONCOHERENT_DMA && !COLDFIRE 19dc072012SGeert Uytterhoeven select GENERIC_ATOMIC64 20dc072012SGeert Uytterhoeven select GENERIC_CPU_DEVICES 2140d43887SNiklas Schnelle select GENERIC_IOMAP if HAS_IOPORT 22dc072012SGeert Uytterhoeven select GENERIC_IRQ_SHOW 23a0938a8eSGreg Ungerer select GENERIC_LIB_ASHLDI3 24a0938a8eSGreg Ungerer select GENERIC_LIB_ASHRDI3 25a0938a8eSGreg Ungerer select GENERIC_LIB_LSHRDI3 26fcbfe812SNiklas Schnelle select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA 276baaade1SMichael Schmitz select HAVE_ARCH_SECCOMP 286baaade1SMichael Schmitz select HAVE_ARCH_SECCOMP_FILTER 292ff2b7ecSMasahiro Yamada select HAVE_ASM_MODVERSIONS 309b2a60c4SCatalin Marinas select HAVE_DEBUG_BUGVERBOSE 313aec1db0SArnd Bergmann select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED 32786d35d4SDavid Howells select HAVE_MOD_ARCH_SPECIFIC 33dc072012SGeert Uytterhoeven select HAVE_UID16 34dc072012SGeert Uytterhoeven select MMU_GATHER_NO_RANGE if MMU 35786d35d4SDavid Howells select MODULES_USE_ELF_REL 36786d35d4SDavid Howells select MODULES_USE_ELF_RELA 37dc072012SGeert Uytterhoeven select NO_DMA if !MMU && !COLDFIRE 388be433abSAl Viro select OLD_SIGACTION 39dc072012SGeert Uytterhoeven select OLD_SIGSUSPEND3 40d3876ff7SLinus Torvalds select UACCESS_MEMCPY if !MMU 4163703f37SKefeng Wang select ZONE_DMA 421da177e4SLinus Torvalds 434c97a0c8SBabu Mogerconfig CPU_BIG_ENDIAN 444c97a0c8SBabu Moger def_bool y 454c97a0c8SBabu Moger 46f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32 47f0d1b0b3SDavid Howells bool 48f0d1b0b3SDavid Howells 49f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64 50f0d1b0b3SDavid Howells bool 51f0d1b0b3SDavid Howells 52ba1a5b32SAkinobu Mitaconfig GENERIC_HWEIGHT 53ba1a5b32SAkinobu Mita bool 54ba1a5b32SAkinobu Mita default y 55ba1a5b32SAkinobu Mita 561da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY 571da177e4SLinus Torvalds bool 581da177e4SLinus Torvalds default y 591da177e4SLinus Torvalds 607f73bafcSGreg Ungererconfig GENERIC_CSUM 617f73bafcSGreg Ungerer bool 627f73bafcSGreg Ungerer 6306027bddSIngo Molnarconfig TIME_LOW_RES 6406027bddSIngo Molnar bool 6506027bddSIngo Molnar default y 6606027bddSIngo Molnar 67ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP 685ea81769SAl Viro def_bool y 695ea81769SAl Viro 70bdc80787SH. Peter Anvinconfig HZ 71bdc80787SH. Peter Anvin int 7266d857b0SGreg Ungerer default 1000 if CLEOPATRA 73bdc80787SH. Peter Anvin default 100 74bdc80787SH. Peter Anvin 75980d5b73SKirill A. Shutemovconfig PGTABLE_LEVELS 76980d5b73SKirill A. Shutemov default 2 if SUN3 || COLDFIRE 77980d5b73SKirill A. Shutemov default 3 78980d5b73SKirill A. Shutemov 7966d857b0SGreg Ungererconfig MMU 8066d857b0SGreg Ungerer bool "MMU-based Paged Memory Management Support" 8166d857b0SGreg Ungerer default y 8266d857b0SGreg Ungerer help 8366d857b0SGreg Ungerer Select if you want MMU-based virtualised addressing space 8466d857b0SGreg Ungerer support by paged memory management. If unsure, say 'Y'. 8566d857b0SGreg Ungerer 860e152d80SGreg Ungererconfig MMU_MOTOROLA 87*5d42a685SArnd Bergmann def_bool MMU && M68KCLASSIC 885394f1e9SArnd Bergmann select HAVE_PAGE_SIZE_4KB 891da177e4SLinus Torvalds 900e6782c8SGreg Ungererconfig MMU_COLDFIRE 91*5d42a685SArnd Bergmann def_bool MMU && COLDFIRE 925394f1e9SArnd Bergmann select HAVE_PAGE_SIZE_8KB 930e6782c8SGreg Ungerer 940e152d80SGreg Ungererconfig MMU_SUN3 95*5d42a685SArnd Bergmann def_bool MMU && SUN3 965394f1e9SArnd Bergmann select HAVE_PAGE_SIZE_8KB 970e152d80SGreg Ungerer 98a7cc67deSEric DeVolderconfig ARCH_SUPPORTS_KEXEC 99*5d42a685SArnd Bergmann def_bool (M68KCLASSIC || SUN3) && MMU 1007d5f5fa2SGeert Uytterhoeven 1017bc1e4d8SGeert Uytterhoevenconfig BOOTINFO_PROC 1027bc1e4d8SGeert Uytterhoeven bool "Export bootinfo in procfs" 103*5d42a685SArnd Bergmann depends on KEXEC && (M68KCLASSIC || SUN3) 1047bc1e4d8SGeert Uytterhoeven help 1057bc1e4d8SGeert Uytterhoeven Say Y to export the bootinfo used to boot the kernel in a 1067bc1e4d8SGeert Uytterhoeven "bootinfo" file in procfs. This is useful with kexec. 1077bc1e4d8SGeert Uytterhoeven 1080e152d80SGreg Ungerermenu "Platform setup" 1090e152d80SGreg Ungerer 1108636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.cpu" 1110e152d80SGreg Ungerer 1128636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.machine" 1130e152d80SGreg Ungerer 1148636a1f9SMasahiro Yamadasource "arch/m68k/Kconfig.bus" 1150e152d80SGreg Ungerer 1160e152d80SGreg Ungererendmenu 1170e152d80SGreg Ungerer 1180e152d80SGreg Ungerermenu "Kernel Features" 1190e152d80SGreg Ungerer 12066d857b0SGreg Ungererendmenu 12166d857b0SGreg Ungerer 12266d857b0SGreg Ungererif !MMU 12366d857b0SGreg Ungerermenu "Power management options" 12466d857b0SGreg Ungerer 12566d857b0SGreg Ungererconfig PM 12666d857b0SGreg Ungerer bool "Power Management support" 1271da177e4SLinus Torvalds help 12866d857b0SGreg Ungerer Support processor power management modes 1291da177e4SLinus Torvalds 1301da177e4SLinus Torvaldsendmenu 13166d857b0SGreg Ungererendif 1321da177e4SLinus Torvalds 1330e152d80SGreg Ungerersource "arch/m68k/Kconfig.devices" 134