blob: 785612b576f7df4de1f6287426ce79a49aed8255 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002config M68K
3 bool
4 default y
Mark Salter1a7f6be2013-10-07 22:10:21 -04005 select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
Vladimir Murzin07c75d72017-06-28 10:16:57 +01006 select ARCH_NO_COHERENT_DMA_MMAP if !MMU
Sam Ravnborgec7748b2008-02-09 10:46:40 +01007 select HAVE_IDE
Greg Ungerer66d857b2011-03-22 13:39:27 +10008 select HAVE_AOUT if MMU
Catalin Marinas9b2a60c2012-10-08 16:28:13 -07009 select HAVE_DEBUG_BUGVERBOSE
Geert Uytterhoevend890d732011-09-11 11:28:04 +020010 select GENERIC_IRQ_SHOW
Greg Ungerer42b1b942012-08-14 14:31:33 +100011 select GENERIC_ATOMIC64
Catalin Marinasaf1839e2012-10-08 16:28:08 -070012 select HAVE_UID16
Stephen Rothwell4febd952013-03-07 15:48:16 +110013 select VIRT_TO_BUS
Huang Yingdf013ff2011-07-13 13:14:22 +080014 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
Ben Hutchings9f13a1f2012-01-10 03:04:32 +000015 select GENERIC_CPU_DEVICES
Greg Ungererf79b8592013-08-02 17:24:38 +100016 select GENERIC_IOMAP
Geert Uytterhoevend8ce7262012-05-29 23:30:08 +020017 select GENERIC_STRNCPY_FROM_USER if MMU
18 select GENERIC_STRNLEN_USER if MMU
Will Deaconc1d7e012012-07-30 14:42:46 -070019 select ARCH_WANT_IPC_PARSE_VERSION
Anna-Maria Gleixner60a5e4c2012-05-18 16:45:49 +000020 select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
Finn Thaine571c582014-03-06 10:29:27 +110021 select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
David Howells786d35d2012-09-28 14:31:03 +093022 select HAVE_MOD_ARCH_SPECIFIC
23 select MODULES_USE_ELF_REL
24 select MODULES_USE_ELF_RELA
Al Viro1ba3e7e2012-12-25 16:26:28 -050025 select OLD_SIGSUSPEND3
Al Viro8be433a2012-12-25 19:29:01 -050026 select OLD_SIGACTION
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
Babu Moger4c97a0c2017-09-08 16:14:22 -070028config CPU_BIG_ENDIAN
29 def_bool y
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031config RWSEM_GENERIC_SPINLOCK
32 bool
33 default y
34
35config RWSEM_XCHGADD_ALGORITHM
36 bool
37
David Howellsf0d1b0b2006-12-08 02:37:49 -080038config ARCH_HAS_ILOG2_U32
39 bool
David Howellsf0d1b0b2006-12-08 02:37:49 -080040
41config ARCH_HAS_ILOG2_U64
42 bool
David Howellsf0d1b0b2006-12-08 02:37:49 -080043
Akinobu Mitaba1a5b32006-03-26 01:39:27 -080044config GENERIC_HWEIGHT
45 bool
46 default y
47
Linus Torvalds1da177e2005-04-16 15:20:36 -070048config GENERIC_CALIBRATE_DELAY
49 bool
50 default y
51
Greg Ungerer7f73baf2011-10-18 15:49:19 +100052config GENERIC_CSUM
53 bool
54
Ingo Molnar06027bd2006-02-14 13:53:15 -080055config TIME_LOW_RES
56 bool
57 default y
58
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -070059config NO_IOPORT_MAP
Al Viro5ea81762007-02-11 15:41:31 +000060 def_bool y
61
Al Virodfedfaf2007-07-20 04:33:58 +010062config NO_DMA
Greg Ungerer66d857b2011-03-22 13:39:27 +100063 def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
Al Virodfedfaf2007-07-20 04:33:58 +010064
Greg Ungerer66d857b2011-03-22 13:39:27 +100065config ZONE_DMA
66 bool
67 default y
Greg Ungerer171d8092011-05-17 16:45:00 +100068
H. Peter Anvinbdc80782008-02-08 04:21:26 -080069config HZ
70 int
Greg Ungerer66d857b2011-03-22 13:39:27 +100071 default 1000 if CLEOPATRA
H. Peter Anvinbdc80782008-02-08 04:21:26 -080072 default 100
73
Kirill A. Shutemov980d5b72015-04-14 15:45:48 -070074config PGTABLE_LEVELS
75 default 2 if SUN3 || COLDFIRE
76 default 3
77
Linus Torvalds1da177e2005-04-16 15:20:36 -070078source "init/Kconfig"
79
Matt Helsleydc52ddc2008-10-18 20:27:21 -070080source "kernel/Kconfig.freezer"
81
Greg Ungerer66d857b2011-03-22 13:39:27 +100082config MMU
83 bool "MMU-based Paged Memory Management Support"
84 default y
85 help
86 Select if you want MMU-based virtualised addressing space
87 support by paged memory management. If unsure, say 'Y'.
88
Greg Ungerer0e152d82011-06-20 15:49:09 +100089config MMU_MOTOROLA
90 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070091
Greg Ungerer0e6782c2011-10-18 16:26:11 +100092config MMU_COLDFIRE
93 bool
94
Greg Ungerer0e152d82011-06-20 15:49:09 +100095config MMU_SUN3
96 bool
Greg Ungerer0e6782c2011-10-18 16:26:11 +100097 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
Greg Ungerer0e152d82011-06-20 15:49:09 +100098
Geert Uytterhoeven7d5f5fa2013-08-20 22:51:47 +020099config KEXEC
100 bool "kexec system call"
101 depends on M68KCLASSIC
Dave Young2965faa2015-09-09 15:38:55 -0700102 select KEXEC_CORE
Geert Uytterhoeven7d5f5fa2013-08-20 22:51:47 +0200103 help
104 kexec is a system call that implements the ability to shutdown your
105 current kernel, and to start another kernel. It is like a reboot
106 but it is independent of the system firmware. And like a reboot
107 you can start any kernel with it, not just Linux.
108
109 The name comes from the similarity to the exec system call.
110
111 It is an ongoing process to be certain the hardware in a machine
112 is properly shutdown, so do not be surprised if this code does not
113 initially work for you. As of this writing the exact hardware
114 interface is strongly in flux, so no good recommendation can be
115 made.
116
Geert Uytterhoeven7bc1e4d2013-08-21 22:36:32 +0200117config BOOTINFO_PROC
118 bool "Export bootinfo in procfs"
119 depends on KEXEC && M68KCLASSIC
120 help
121 Say Y to export the bootinfo used to boot the kernel in a
122 "bootinfo" file in procfs. This is useful with kexec.
123
Greg Ungerer0e152d82011-06-20 15:49:09 +1000124menu "Platform setup"
125
126source arch/m68k/Kconfig.cpu
127
128source arch/m68k/Kconfig.machine
129
130source arch/m68k/Kconfig.bus
131
132endmenu
133
134menu "Kernel Features"
135
136if COLDFIRE
137source "kernel/Kconfig.preempt"
Greg Ungerer66d857b2011-03-22 13:39:27 +1000138endif
Greg Ungerer0e152d82011-06-20 15:49:09 +1000139
Dave Hansen3f22ab22005-06-23 00:07:43 -0700140source "mm/Kconfig"
141
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142endmenu
143
Greg Ungerer66d857b2011-03-22 13:39:27 +1000144menu "Executable file formats"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145
146source "fs/Kconfig.binfmt"
147
Greg Ungerer66d857b2011-03-22 13:39:27 +1000148endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149
Greg Ungerer66d857b2011-03-22 13:39:27 +1000150if !MMU
151menu "Power management options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152
Greg Ungerer66d857b2011-03-22 13:39:27 +1000153config PM
Greg Ungerer0e152d82011-06-20 15:49:09 +1000154 bool "Power Management support"
155 help
156 Support processor power management modes
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157
158endmenu
Greg Ungerer66d857b2011-03-22 13:39:27 +1000159endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700160
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700161source "net/Kconfig"
162
Linus Torvalds1da177e2005-04-16 15:20:36 -0700163source "drivers/Kconfig"
164
Greg Ungerer0e152d82011-06-20 15:49:09 +1000165source "arch/m68k/Kconfig.devices"
Greg Ungerer66d857b2011-03-22 13:39:27 +1000166
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167source "fs/Kconfig"
168
Linus Torvalds1da177e2005-04-16 15:20:36 -0700169source "arch/m68k/Kconfig.debug"
170
171source "security/Kconfig"
172
173source "crypto/Kconfig"
174
175source "lib/Kconfig"