blob: e173ea2ff3952ef28af8bdb60894837c0621348e [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
Mike Rapoport1008a112018-07-04 09:28:16 +030029 select ARCH_DISCARD_MEMBLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
Babu Moger4c97a0c2017-09-08 16:14:22 -070031config CPU_BIG_ENDIAN
32 def_bool y
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034config RWSEM_GENERIC_SPINLOCK
35 bool
36 default y
37
38config RWSEM_XCHGADD_ALGORITHM
39 bool
40
David Howellsf0d1b0b2006-12-08 02:37:49 -080041config ARCH_HAS_ILOG2_U32
42 bool
David Howellsf0d1b0b2006-12-08 02:37:49 -080043
44config ARCH_HAS_ILOG2_U64
45 bool
David Howellsf0d1b0b2006-12-08 02:37:49 -080046
Akinobu Mitaba1a5b32006-03-26 01:39:27 -080047config GENERIC_HWEIGHT
48 bool
49 default y
50
Linus Torvalds1da177e2005-04-16 15:20:36 -070051config GENERIC_CALIBRATE_DELAY
52 bool
53 default y
54
Greg Ungerer7f73baf2011-10-18 15:49:19 +100055config GENERIC_CSUM
56 bool
57
Ingo Molnar06027bd2006-02-14 13:53:15 -080058config TIME_LOW_RES
59 bool
60 default y
61
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -070062config NO_IOPORT_MAP
Al Viro5ea81762007-02-11 15:41:31 +000063 def_bool y
64
Al Virodfedfaf2007-07-20 04:33:58 +010065config NO_DMA
Greg Ungerer66d857b2011-03-22 13:39:27 +100066 def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
Al Virodfedfaf2007-07-20 04:33:58 +010067
Greg Ungerer66d857b2011-03-22 13:39:27 +100068config ZONE_DMA
69 bool
70 default y
Greg Ungerer171d8092011-05-17 16:45:00 +100071
H. Peter Anvinbdc80782008-02-08 04:21:26 -080072config HZ
73 int
Greg Ungerer66d857b2011-03-22 13:39:27 +100074 default 1000 if CLEOPATRA
H. Peter Anvinbdc80782008-02-08 04:21:26 -080075 default 100
76
Kirill A. Shutemov980d5b72015-04-14 15:45:48 -070077config PGTABLE_LEVELS
78 default 2 if SUN3 || COLDFIRE
79 default 3
80
Greg Ungerer66d857b2011-03-22 13:39:27 +100081config MMU
82 bool "MMU-based Paged Memory Management Support"
83 default y
84 help
85 Select if you want MMU-based virtualised addressing space
86 support by paged memory management. If unsure, say 'Y'.
87
Greg Ungerer0e152d82011-06-20 15:49:09 +100088config MMU_MOTOROLA
89 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070090
Greg Ungerer0e6782c2011-10-18 16:26:11 +100091config MMU_COLDFIRE
92 bool
93
Greg Ungerer0e152d82011-06-20 15:49:09 +100094config MMU_SUN3
95 bool
Greg Ungerer0e6782c2011-10-18 16:26:11 +100096 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
Greg Ungerer0e152d82011-06-20 15:49:09 +100097
Geert Uytterhoeven7d5f5fa2013-08-20 22:51:47 +020098config KEXEC
99 bool "kexec system call"
100 depends on M68KCLASSIC
Dave Young2965faa2015-09-09 15:38:55 -0700101 select KEXEC_CORE
Geert Uytterhoeven7d5f5fa2013-08-20 22:51:47 +0200102 help
103 kexec is a system call that implements the ability to shutdown your
104 current kernel, and to start another kernel. It is like a reboot
105 but it is independent of the system firmware. And like a reboot
106 you can start any kernel with it, not just Linux.
107
108 The name comes from the similarity to the exec system call.
109
110 It is an ongoing process to be certain the hardware in a machine
111 is properly shutdown, so do not be surprised if this code does not
112 initially work for you. As of this writing the exact hardware
113 interface is strongly in flux, so no good recommendation can be
114 made.
115
Geert Uytterhoeven7bc1e4d2013-08-21 22:36:32 +0200116config BOOTINFO_PROC
117 bool "Export bootinfo in procfs"
118 depends on KEXEC && M68KCLASSIC
119 help
120 Say Y to export the bootinfo used to boot the kernel in a
121 "bootinfo" file in procfs. This is useful with kexec.
122
Greg Ungerer0e152d82011-06-20 15:49:09 +1000123menu "Platform setup"
124
Masahiro Yamada8636a1f2018-12-11 20:01:04 +0900125source "arch/m68k/Kconfig.cpu"
Greg Ungerer0e152d82011-06-20 15:49:09 +1000126
Masahiro Yamada8636a1f2018-12-11 20:01:04 +0900127source "arch/m68k/Kconfig.machine"
Greg Ungerer0e152d82011-06-20 15:49:09 +1000128
Masahiro Yamada8636a1f2018-12-11 20:01:04 +0900129source "arch/m68k/Kconfig.bus"
Greg Ungerer0e152d82011-06-20 15:49:09 +1000130
131endmenu
132
133menu "Kernel Features"
134
Greg Ungerer66d857b2011-03-22 13:39:27 +1000135endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700136
Greg Ungerer66d857b2011-03-22 13:39:27 +1000137if !MMU
138menu "Power management options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700139
Greg Ungerer66d857b2011-03-22 13:39:27 +1000140config PM
Greg Ungerer0e152d82011-06-20 15:49:09 +1000141 bool "Power Management support"
142 help
143 Support processor power management modes
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144
145endmenu
Greg Ungerer66d857b2011-03-22 13:39:27 +1000146endif
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147
Greg Ungerer0e152d82011-06-20 15:49:09 +1000148source "arch/m68k/Kconfig.devices"