blob: 070553791e9774e035f7add07c782c2d3b89f0d1 [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
Christoph Hellwig9eb8be62018-06-20 10:19:45 +02005 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
Mark Salter1a7f6be2013-10-07 22:10:21 -04006 select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
Vladimir Murzin07c75d72017-06-28 10:16:57 +01007 select ARCH_NO_COHERENT_DMA_MMAP if !MMU
Christoph Hellwig87a4c372018-07-31 13:39:32 +02008 select ARCH_NO_PREEMPT if !COLDFIRE
Sam Ravnborgec7748b2008-02-09 10:46:40 +01009 select HAVE_IDE
Greg Ungerer66d857b2011-03-22 13:39:27 +100010 select HAVE_AOUT if MMU
Catalin Marinas9b2a60c2012-10-08 16:28:13 -070011 select HAVE_DEBUG_BUGVERBOSE
Geert Uytterhoevend890d732011-09-11 11:28:04 +020012 select GENERIC_IRQ_SHOW
Greg Ungerer42b1b942012-08-14 14:31:33 +100013 select GENERIC_ATOMIC64
Catalin Marinasaf1839e2012-10-08 16:28:08 -070014 select HAVE_UID16
Stephen Rothwell4febd952013-03-07 15:48:16 +110015 select VIRT_TO_BUS
Huang Yingdf013ff2011-07-13 13:14:22 +080016 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
Ben Hutchings9f13a1f2012-01-10 03:04:32 +000017 select GENERIC_CPU_DEVICES
Greg Ungererf79b8592013-08-02 17:24:38 +100018 select GENERIC_IOMAP
Geert Uytterhoevend8ce7262012-05-29 23:30:08 +020019 select GENERIC_STRNCPY_FROM_USER if MMU
20 select GENERIC_STRNLEN_USER if MMU
Will Deaconc1d7e012012-07-30 14:42:46 -070021 select ARCH_WANT_IPC_PARSE_VERSION
Anna-Maria Gleixner60a5e4c2012-05-18 16:45:49 +000022 select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
Finn Thaine571c582014-03-06 10:29:27 +110023 select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
David Howells786d35d2012-09-28 14:31:03 +093024 select HAVE_MOD_ARCH_SPECIFIC
25 select MODULES_USE_ELF_REL
26 select MODULES_USE_ELF_RELA
Al Viro1ba3e7e2012-12-25 16:26:28 -050027 select OLD_SIGSUSPEND3
Al Viro8be433a2012-12-25 19:29:01 -050028 select OLD_SIGACTION
Christoph Hellwig9eb8be62018-06-20 10:19:45 +020029 select DMA_NONCOHERENT_OPS if HAS_DMA
Mike Rapoport1008a112018-07-04 09:28:16 +030030 select HAVE_MEMBLOCK
31 select ARCH_DISCARD_MEMBLOCK
32 select NO_BOOTMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -070033
Babu Moger4c97a0c2017-09-08 16:14:22 -070034config CPU_BIG_ENDIAN
35 def_bool y
36
Linus Torvalds1da177e2005-04-16 15:20:36 -070037config RWSEM_GENERIC_SPINLOCK
38 bool
39 default y
40
41config RWSEM_XCHGADD_ALGORITHM
42 bool
43
David Howellsf0d1b0b2006-12-08 02:37:49 -080044config ARCH_HAS_ILOG2_U32
45 bool
David Howellsf0d1b0b2006-12-08 02:37:49 -080046
47config ARCH_HAS_ILOG2_U64
48 bool
David Howellsf0d1b0b2006-12-08 02:37:49 -080049
Akinobu Mitaba1a5b32006-03-26 01:39:27 -080050config GENERIC_HWEIGHT
51 bool
52 default y
53
Linus Torvalds1da177e2005-04-16 15:20:36 -070054config GENERIC_CALIBRATE_DELAY
55 bool
56 default y
57
Greg Ungerer7f73baf2011-10-18 15:49:19 +100058config GENERIC_CSUM
59 bool
60
Ingo Molnar06027bd2006-02-14 13:53:15 -080061config TIME_LOW_RES
62 bool
63 default y
64
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -070065config NO_IOPORT_MAP
Al Viro5ea81762007-02-11 15:41:31 +000066 def_bool y
67
Al Virodfedfaf2007-07-20 04:33:58 +010068config NO_DMA
Greg Ungerer66d857b2011-03-22 13:39:27 +100069 def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
Al Virodfedfaf2007-07-20 04:33:58 +010070
Greg Ungerer66d857b2011-03-22 13:39:27 +100071config ZONE_DMA
72 bool
73 default y
Greg Ungerer171d8092011-05-17 16:45:00 +100074
H. Peter Anvinbdc80782008-02-08 04:21:26 -080075config HZ
76 int
Greg Ungerer66d857b2011-03-22 13:39:27 +100077 default 1000 if CLEOPATRA
H. Peter Anvinbdc80782008-02-08 04:21:26 -080078 default 100
79
Kirill A. Shutemov980d5b72015-04-14 15:45:48 -070080config PGTABLE_LEVELS
81 default 2 if SUN3 || COLDFIRE
82 default 3
83
Greg Ungerer66d857b2011-03-22 13:39:27 +100084config MMU
85 bool "MMU-based Paged Memory Management Support"
86 default y
87 help
88 Select if you want MMU-based virtualised addressing space
89 support by paged memory management. If unsure, say 'Y'.
90
Greg Ungerer0e152d82011-06-20 15:49:09 +100091config MMU_MOTOROLA
92 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070093
Greg Ungerer0e6782c2011-10-18 16:26:11 +100094config MMU_COLDFIRE
95 bool
96
Greg Ungerer0e152d82011-06-20 15:49:09 +100097config MMU_SUN3
98 bool
Greg Ungerer0e6782c2011-10-18 16:26:11 +100099 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
Greg Ungerer0e152d82011-06-20 15:49:09 +1000100
Geert Uytterhoeven7d5f5fa2013-08-20 22:51:47 +0200101config KEXEC
102 bool "kexec system call"
103 depends on M68KCLASSIC
Dave Young2965faa2015-09-09 15:38:55 -0700104 select KEXEC_CORE
Geert Uytterhoeven7d5f5fa2013-08-20 22:51:47 +0200105 help
106 kexec is a system call that implements the ability to shutdown your
107 current kernel, and to start another kernel. It is like a reboot
108 but it is independent of the system firmware. And like a reboot
109 you can start any kernel with it, not just Linux.
110
111 The name comes from the similarity to the exec system call.
112
113 It is an ongoing process to be certain the hardware in a machine
114 is properly shutdown, so do not be surprised if this code does not
115 initially work for you. As of this writing the exact hardware
116 interface is strongly in flux, so no good recommendation can be
117 made.
118
Geert Uytterhoeven7bc1e4d2013-08-21 22:36:32 +0200119config BOOTINFO_PROC
120 bool "Export bootinfo in procfs"
121 depends on KEXEC && M68KCLASSIC
122 help
123 Say Y to export the bootinfo used to boot the kernel in a
124 "bootinfo" file in procfs. This is useful with kexec.
125
Greg Ungerer0e152d82011-06-20 15:49:09 +1000126menu "Platform setup"
127
128source arch/m68k/Kconfig.cpu
129
130source arch/m68k/Kconfig.machine
131
132source arch/m68k/Kconfig.bus
133
134endmenu
135
136menu "Kernel Features"
137
Greg Ungerer66d857b2011-03-22 13:39:27 +1000138endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700139
Greg Ungerer66d857b2011-03-22 13:39:27 +1000140if !MMU
141menu "Power management options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142
Greg Ungerer66d857b2011-03-22 13:39:27 +1000143config PM
Greg Ungerer0e152d82011-06-20 15:49:09 +1000144 bool "Power Management support"
145 help
146 Support processor power management modes
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147
148endmenu
Greg Ungerer66d857b2011-03-22 13:39:27 +1000149endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150
Greg Ungerer0e152d82011-06-20 15:49:09 +1000151source "arch/m68k/Kconfig.devices"