• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0
2config M68K
3	bool
4	default y
5	select ARCH_32BIT_OFF_T
6	select ARCH_HAS_BINFMT_FLAT
7	select ARCH_HAS_CPU_FINALIZE_INIT if MMU
8	select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE
9	select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
10	select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
11	select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
12	select ARCH_NO_PREEMPT if !COLDFIRE
13	select ARCH_WANT_IPC_PARSE_VERSION
14	select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
15	select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
16	select GENERIC_ATOMIC64
17	select GENERIC_CPU_DEVICES
18	select GENERIC_IOMAP
19	select GENERIC_IRQ_SHOW
20	select GENERIC_STRNCPY_FROM_USER if MMU
21	select GENERIC_STRNLEN_USER if MMU
22	select HAVE_AOUT if MMU
23	select HAVE_ASM_MODVERSIONS
24	select HAVE_DEBUG_BUGVERBOSE
25	select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
26	select HAVE_IDE
27	select HAVE_MOD_ARCH_SPECIFIC
28	select HAVE_UID16
29	select MMU_GATHER_NO_RANGE if MMU
30	select MODULES_USE_ELF_REL
31	select MODULES_USE_ELF_RELA
32	select NO_DMA if !MMU && !COLDFIRE
33	select OLD_SIGACTION
34	select OLD_SIGSUSPEND3
35	select SET_FS
36	select UACCESS_MEMCPY if !MMU
37	select VIRT_TO_BUS
38
39config CPU_BIG_ENDIAN
40	def_bool y
41
42config ARCH_HAS_ILOG2_U32
43	bool
44
45config ARCH_HAS_ILOG2_U64
46	bool
47
48config GENERIC_HWEIGHT
49	bool
50	default y
51
52config GENERIC_CALIBRATE_DELAY
53	bool
54	default y
55
56config GENERIC_CSUM
57	bool
58
59config TIME_LOW_RES
60	bool
61	default y
62
63config NO_IOPORT_MAP
64	def_bool y
65
66config ZONE_DMA
67	bool
68	default y
69
70config HZ
71	int
72	default 1000 if CLEOPATRA
73	default 100
74
75config PGTABLE_LEVELS
76	default 2 if SUN3 || COLDFIRE
77	default 3
78
79config 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
86config MMU_MOTOROLA
87	bool
88
89config MMU_COLDFIRE
90	bool
91
92config MMU_SUN3
93	bool
94	depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
95
96config KEXEC
97	bool "kexec system call"
98	depends on M68KCLASSIC
99	select KEXEC_CORE
100	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
114config 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
121menu "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
133endmenu
134
135if !MMU
136menu "Power management options"
137
138config PM
139	bool "Power Management support"
140	help
141	  Support processor power management modes
142
143endmenu
144endif
145
146source "arch/m68k/Kconfig.devices"
147