Loading...
1config M68K
2 bool
3 default y
4 select HAVE_IDE
5 select HAVE_AOUT if MMU
6 select HAVE_GENERIC_HARDIRQS
7 select GENERIC_IRQ_SHOW
8 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
9 select GENERIC_CPU_DEVICES
10 select GENERIC_STRNCPY_FROM_USER if MMU
11 select GENERIC_STRNLEN_USER if MMU
12 select FPU if MMU
13 select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
14
15config RWSEM_GENERIC_SPINLOCK
16 bool
17 default y
18
19config RWSEM_XCHGADD_ALGORITHM
20 bool
21
22config ARCH_HAS_ILOG2_U32
23 bool
24
25config ARCH_HAS_ILOG2_U64
26 bool
27
28config GENERIC_GPIO
29 bool
30
31config GENERIC_HWEIGHT
32 bool
33 default y
34
35config GENERIC_CALIBRATE_DELAY
36 bool
37 default y
38
39config GENERIC_CSUM
40 bool
41
42config TIME_LOW_RES
43 bool
44 default y
45
46config NO_IOPORT
47 def_bool y
48
49config NO_DMA
50 def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
51
52config ZONE_DMA
53 bool
54 default y
55
56config CPU_HAS_NO_BITFIELDS
57 bool
58
59config CPU_HAS_NO_MULDIV64
60 bool
61
62config CPU_HAS_ADDRESS_SPACES
63 bool
64
65config FPU
66 bool
67
68config HZ
69 int
70 default 1000 if CLEOPATRA
71 default 100
72
73source "init/Kconfig"
74
75source "kernel/Kconfig.freezer"
76
77config MMU
78 bool "MMU-based Paged Memory Management Support"
79 default y
80 select GENERIC_IOMAP
81 help
82 Select if you want MMU-based virtualised addressing space
83 support by paged memory management. If unsure, say 'Y'.
84
85config MMU_MOTOROLA
86 bool
87
88config MMU_COLDFIRE
89 bool
90
91config MMU_SUN3
92 bool
93 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
94
95menu "Platform setup"
96
97source arch/m68k/Kconfig.cpu
98
99source arch/m68k/Kconfig.machine
100
101source arch/m68k/Kconfig.bus
102
103endmenu
104
105menu "Kernel Features"
106
107if COLDFIRE
108source "kernel/Kconfig.preempt"
109endif
110
111source "mm/Kconfig"
112
113endmenu
114
115menu "Executable file formats"
116
117source "fs/Kconfig.binfmt"
118
119endmenu
120
121if !MMU
122menu "Power management options"
123
124config PM
125 bool "Power Management support"
126 help
127 Support processor power management modes
128
129endmenu
130endif
131
132source "net/Kconfig"
133
134source "drivers/Kconfig"
135
136source "arch/m68k/Kconfig.devices"
137
138source "fs/Kconfig"
139
140source "arch/m68k/Kconfig.debug"
141
142source "security/Kconfig"
143
144source "crypto/Kconfig"
145
146source "lib/Kconfig"
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_CURRENT_STACK_POINTER
9 select ARCH_HAS_DMA_PREP_COHERENT if M68K_NONCOHERENT_DMA && !COLDFIRE
10 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if M68K_NONCOHERENT_DMA
11 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
12 select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
13 select ARCH_NO_PREEMPT if !COLDFIRE
14 select ARCH_USE_MEMTEST if MMU_MOTOROLA
15 select ARCH_WANT_IPC_PARSE_VERSION
16 select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
17 select DMA_DIRECT_REMAP if M68K_NONCOHERENT_DMA && !COLDFIRE
18 select GENERIC_ATOMIC64
19 select GENERIC_CPU_DEVICES
20 select GENERIC_IOMAP
21 select GENERIC_IRQ_SHOW
22 select GENERIC_LIB_ASHLDI3
23 select GENERIC_LIB_ASHRDI3
24 select GENERIC_LIB_LSHRDI3
25 select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA
26 select HAVE_ARCH_SECCOMP
27 select HAVE_ARCH_SECCOMP_FILTER
28 select HAVE_ASM_MODVERSIONS
29 select HAVE_DEBUG_BUGVERBOSE
30 select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
31 select HAVE_MOD_ARCH_SPECIFIC
32 select HAVE_UID16
33 select MMU_GATHER_NO_RANGE if MMU
34 select MODULES_USE_ELF_REL
35 select MODULES_USE_ELF_RELA
36 select NO_DMA if !MMU && !COLDFIRE
37 select OLD_SIGACTION
38 select OLD_SIGSUSPEND3
39 select UACCESS_MEMCPY if !MMU
40 select ZONE_DMA
41
42config CPU_BIG_ENDIAN
43 def_bool y
44
45config ARCH_HAS_ILOG2_U32
46 bool
47
48config ARCH_HAS_ILOG2_U64
49 bool
50
51config GENERIC_HWEIGHT
52 bool
53 default y
54
55config GENERIC_CALIBRATE_DELAY
56 bool
57 default y
58
59config GENERIC_CSUM
60 bool
61
62config TIME_LOW_RES
63 bool
64 default y
65
66config NO_IOPORT_MAP
67 def_bool y
68
69config HZ
70 int
71 default 1000 if CLEOPATRA
72 default 100
73
74config PGTABLE_LEVELS
75 default 2 if SUN3 || COLDFIRE
76 default 3
77
78config MMU
79 bool "MMU-based Paged Memory Management Support"
80 default y
81 help
82 Select if you want MMU-based virtualised addressing space
83 support by paged memory management. If unsure, say 'Y'.
84
85config MMU_MOTOROLA
86 bool
87
88config MMU_COLDFIRE
89 bool
90
91config MMU_SUN3
92 bool
93 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
94
95config ARCH_SUPPORTS_KEXEC
96 def_bool M68KCLASSIC && MMU
97
98config BOOTINFO_PROC
99 bool "Export bootinfo in procfs"
100 depends on KEXEC && M68KCLASSIC
101 help
102 Say Y to export the bootinfo used to boot the kernel in a
103 "bootinfo" file in procfs. This is useful with kexec.
104
105menu "Platform setup"
106
107source "arch/m68k/Kconfig.cpu"
108
109source "arch/m68k/Kconfig.machine"
110
111source "arch/m68k/Kconfig.bus"
112
113endmenu
114
115menu "Kernel Features"
116
117endmenu
118
119if !MMU
120menu "Power management options"
121
122config PM
123 bool "Power Management support"
124 help
125 Support processor power management modes
126
127endmenu
128endif
129
130source "arch/m68k/Kconfig.devices"