blob: 3e47f8df6504b6ad9b53eaab29ce8521508cffd6 [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
Christoph Hellwig87a4c372018-07-31 13:39:32 +02007 select ARCH_NO_PREEMPT if !COLDFIRE
Sam Ravnborgec7748b2008-02-09 10:46:40 +01008 select HAVE_IDE
Greg Ungerer66d857b2011-03-22 13:39:27 +10009 select HAVE_AOUT if MMU
Catalin Marinas9b2a60c2012-10-08 16:28:13 -070010 select HAVE_DEBUG_BUGVERBOSE
Geert Uytterhoevend890d732011-09-11 11:28:04 +020011 select GENERIC_IRQ_SHOW
Greg Ungerer42b1b942012-08-14 14:31:33 +100012 select GENERIC_ATOMIC64
Catalin Marinasaf1839e2012-10-08 16:28:08 -070013 select HAVE_UID16
Stephen Rothwell4febd952013-03-07 15:48:16 +110014 select VIRT_TO_BUS
Huang Yingdf013ff2011-07-13 13:14:22 +080015 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
Ben Hutchings9f13a1f2012-01-10 03:04:32 +000016 select GENERIC_CPU_DEVICES
Greg Ungererf79b8592013-08-02 17:24:38 +100017 select GENERIC_IOMAP
Geert Uytterhoevend8ce7262012-05-29 23:30:08 +020018 select GENERIC_STRNCPY_FROM_USER if MMU
19 select GENERIC_STRNLEN_USER if MMU
Will Deaconc1d7e012012-07-30 14:42:46 -070020 select ARCH_WANT_IPC_PARSE_VERSION
Anna-Maria Gleixner60a5e4c2012-05-18 16:45:49 +000021 select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
Finn Thaine571c582014-03-06 10:29:27 +110022 select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
David Howells786d35d2012-09-28 14:31:03 +093023 select HAVE_MOD_ARCH_SPECIFIC
24 select MODULES_USE_ELF_REL
25 select MODULES_USE_ELF_RELA
Al Viro1ba3e7e2012-12-25 16:26:28 -050026 select OLD_SIGSUSPEND3
Al Viro8be433a2012-12-25 19:29:01 -050027 select OLD_SIGACTION
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
Babu Moger4c97a0c2017-09-08 16:14:22 -070029config CPU_BIG_ENDIAN
30 def_bool y
31
Linus Torvalds1da177e2005-04-16 15:20:36 -070032config RWSEM_GENERIC_SPINLOCK
33 bool
34 default y
35
36config RWSEM_XCHGADD_ALGORITHM
37 bool
38
David Howellsf0d1b0b2006-12-08 02:37:49 -080039config ARCH_HAS_ILOG2_U32
40 bool
David Howellsf0d1b0b2006-12-08 02:37:49 -080041
42config ARCH_HAS_ILOG2_U64
43 bool
David Howellsf0d1b0b2006-12-08 02:37:49 -080044
Akinobu Mitaba1a5b32006-03-26 01:39:27 -080045config GENERIC_HWEIGHT
46 bool
47 default y
48
Linus Torvalds1da177e2005-04-16 15:20:36 -070049config GENERIC_CALIBRATE_DELAY
50 bool
51 default y
52
Greg Ungerer7f73baf2011-10-18 15:49:19 +100053config GENERIC_CSUM
54 bool
55
Ingo Molnar06027bd2006-02-14 13:53:15 -080056config TIME_LOW_RES
57 bool
58 default y
59
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -070060config NO_IOPORT_MAP
Al Viro5ea81762007-02-11 15:41:31 +000061 def_bool y
62
Al Virodfedfaf2007-07-20 04:33:58 +010063config NO_DMA
Greg Ungerer66d857b2011-03-22 13:39:27 +100064 def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
Al Virodfedfaf2007-07-20 04:33:58 +010065
Greg Ungerer66d857b2011-03-22 13:39:27 +100066config ZONE_DMA
67 bool
68 default y
Greg Ungerer171d8092011-05-17 16:45:00 +100069
H. Peter Anvinbdc80782008-02-08 04:21:26 -080070config HZ
71 int
Greg Ungerer66d857b2011-03-22 13:39:27 +100072 default 1000 if CLEOPATRA
H. Peter Anvinbdc80782008-02-08 04:21:26 -080073 default 100
74
Kirill A. Shutemov980d5b72015-04-14 15:45:48 -070075config PGTABLE_LEVELS
76 default 2 if SUN3 || COLDFIRE
77 default 3
78
Greg Ungerer66d857b2011-03-22 13:39:27 +100079config MMU
80 bool "MMU-based Paged Memory Management Support"
81 default y
82 help
83 Select if you want MMU-based virtualised addressing space
84 support by paged memory management. If unsure, say 'Y'.
85
Greg Ungerer0e152d82011-06-20 15:49:09 +100086config MMU_MOTOROLA
87 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070088
Greg Ungerer0e6782c2011-10-18 16:26:11 +100089config MMU_COLDFIRE
90 bool
91
Greg Ungerer0e152d82011-06-20 15:49:09 +100092config MMU_SUN3
93 bool
Greg Ungerer0e6782c2011-10-18 16:26:11 +100094 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
Greg Ungerer0e152d82011-06-20 15:49:09 +100095
Geert Uytterhoeven7d5f5fa2013-08-20 22:51:47 +020096config KEXEC
97 bool "kexec system call"
98 depends on M68KCLASSIC
Dave Young2965faa2015-09-09 15:38:55 -070099 select KEXEC_CORE
Geert Uytterhoeven7d5f5fa2013-08-20 22:51:47 +0200100 help
101 kexec is a system call that implements the ability to shutdown your
102 current kernel, and to start another kernel. It is like a reboot
103 but it is independent of the system firmware. And like a reboot
104 you can start any kernel with it, not just Linux.
105
106 The name comes from the similarity to the exec system call.
107
108 It is an ongoing process to be certain the hardware in a machine
109 is properly shutdown, so do not be surprised if this code does not
110 initially work for you. As of this writing the exact hardware
111 interface is strongly in flux, so no good recommendation can be
112 made.
113
Geert Uytterhoeven7bc1e4d2013-08-21 22:36:32 +0200114config BOOTINFO_PROC
115 bool "Export bootinfo in procfs"
116 depends on KEXEC && M68KCLASSIC
117 help
118 Say Y to export the bootinfo used to boot the kernel in a
119 "bootinfo" file in procfs. This is useful with kexec.
120
Greg Ungerer0e152d82011-06-20 15:49:09 +1000121menu "Platform setup"
122
123source arch/m68k/Kconfig.cpu
124
125source arch/m68k/Kconfig.machine
126
127source arch/m68k/Kconfig.bus
128
129endmenu
130
131menu "Kernel Features"
132
Greg Ungerer66d857b2011-03-22 13:39:27 +1000133endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700134
Greg Ungerer66d857b2011-03-22 13:39:27 +1000135if !MMU
136menu "Power management options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700137
Greg Ungerer66d857b2011-03-22 13:39:27 +1000138config PM
Greg Ungerer0e152d82011-06-20 15:49:09 +1000139 bool "Power Management support"
140 help
141 Support processor power management modes
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142
143endmenu
Greg Ungerer66d857b2011-03-22 13:39:27 +1000144endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145
Greg Ungerer0e152d82011-06-20 15:49:09 +1000146source "arch/m68k/Kconfig.devices"