Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1da177e4 LT |
2 | config M68K |
3 | bool | |
4 | default y | |
942fa985 | 5 | select ARCH_32BIT_OFF_T |
aef0f78e | 6 | select ARCH_HAS_BINFMT_FLAT |
575d6b77 | 7 | select ARCH_HAS_CURRENT_STACK_POINTER |
f28a1f16 | 8 | select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE |
9eb8be60 | 9 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA |
dc072012 | 10 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS |
1a7f6be5 | 11 | select ARCH_MIGHT_HAVE_PC_PARPORT if ISA |
87a4c375 | 12 | select ARCH_NO_PREEMPT if !COLDFIRE |
376e3fde | 13 | select ARCH_USE_MEMTEST if MMU_MOTOROLA |
dc072012 | 14 | select ARCH_WANT_IPC_PARSE_VERSION |
bdd15a28 | 15 | select BINFMT_FLAT_ARGVP_ENVP_ON_STACK |
34dc63a5 | 16 | select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE |
42b1b946 | 17 | select GENERIC_ATOMIC64 |
9f13a1fd | 18 | select GENERIC_CPU_DEVICES |
f79b8592 | 19 | select GENERIC_IOMAP |
dc072012 | 20 | select GENERIC_IRQ_SHOW |
6baaade1 MS |
21 | select HAVE_ARCH_SECCOMP |
22 | select HAVE_ARCH_SECCOMP_FILTER | |
dc072012 GU |
23 | select HAVE_ASM_MODVERSIONS |
24 | select HAVE_DEBUG_BUGVERBOSE | |
3aec1db0 | 25 | select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED |
786d35d4 | 26 | select HAVE_MOD_ARCH_SPECIFIC |
dc072012 GU |
27 | select HAVE_UID16 |
28 | select MMU_GATHER_NO_RANGE if MMU | |
786d35d4 DH |
29 | select MODULES_USE_ELF_REL |
30 | select MODULES_USE_ELF_RELA | |
dc072012 | 31 | select NO_DMA if !MMU && !COLDFIRE |
8be433ab | 32 | select OLD_SIGACTION |
dc072012 | 33 | select OLD_SIGSUSPEND3 |
d3876ff7 | 34 | select UACCESS_MEMCPY if !MMU |
63703f37 | 35 | select ZONE_DMA |
1da177e4 | 36 | |
4c97a0c8 BM |
37 | config CPU_BIG_ENDIAN |
38 | def_bool y | |
39 | ||
f0d1b0b3 DH |
40 | config ARCH_HAS_ILOG2_U32 |
41 | bool | |
f0d1b0b3 DH |
42 | |
43 | config ARCH_HAS_ILOG2_U64 | |
44 | bool | |
f0d1b0b3 | 45 | |
ba1a5b32 AM |
46 | config GENERIC_HWEIGHT |
47 | bool | |
48 | default y | |
49 | ||
1da177e4 LT |
50 | config GENERIC_CALIBRATE_DELAY |
51 | bool | |
52 | default y | |
53 | ||
7f73bafc GU |
54 | config GENERIC_CSUM |
55 | bool | |
56 | ||
06027bdd IM |
57 | config TIME_LOW_RES |
58 | bool | |
59 | default y | |
60 | ||
ce816fa8 | 61 | config NO_IOPORT_MAP |
5ea81769 AV |
62 | def_bool y |
63 | ||
bdc80787 PA |
64 | config HZ |
65 | int | |
66d857b0 | 66 | default 1000 if CLEOPATRA |
bdc80787 PA |
67 | default 100 |
68 | ||
980d5b73 KS |
69 | config PGTABLE_LEVELS |
70 | default 2 if SUN3 || COLDFIRE | |
71 | default 3 | |
72 | ||
66d857b0 GU |
73 | config MMU |
74 | bool "MMU-based Paged Memory Management Support" | |
1da177e4 LT |
75 | default y |
76 | help | |
66d857b0 GU |
77 | Select if you want MMU-based virtualised addressing space |
78 | support by paged memory management. If unsure, say 'Y'. | |
1da177e4 | 79 | |
0e152d80 GU |
80 | config MMU_MOTOROLA |
81 | bool | |
82 | ||
0e6782c8 GU |
83 | config MMU_COLDFIRE |
84 | bool | |
85 | ||
0e152d80 GU |
86 | config MMU_SUN3 |
87 | bool | |
0e6782c8 | 88 | depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE |
0e152d80 | 89 | |
7d5f5fa2 GU |
90 | config KEXEC |
91 | bool "kexec system call" | |
d355a08e | 92 | depends on M68KCLASSIC && MMU |
2965faa5 | 93 | select KEXEC_CORE |
7d5f5fa2 GU |
94 | help |
95 | kexec is a system call that implements the ability to shutdown your | |
96 | current kernel, and to start another kernel. It is like a reboot | |
97 | but it is independent of the system firmware. And like a reboot | |
98 | you can start any kernel with it, not just Linux. | |
99 | ||
100 | The name comes from the similarity to the exec system call. | |
101 | ||
102 | It is an ongoing process to be certain the hardware in a machine | |
103 | is properly shutdown, so do not be surprised if this code does not | |
104 | initially work for you. As of this writing the exact hardware | |
105 | interface is strongly in flux, so no good recommendation can be | |
106 | made. | |
107 | ||
7bc1e4d8 GU |
108 | config BOOTINFO_PROC |
109 | bool "Export bootinfo in procfs" | |
110 | depends on KEXEC && M68KCLASSIC | |
111 | help | |
112 | Say Y to export the bootinfo used to boot the kernel in a | |
113 | "bootinfo" file in procfs. This is useful with kexec. | |
114 | ||
0e152d80 GU |
115 | menu "Platform setup" |
116 | ||
8636a1f9 | 117 | source "arch/m68k/Kconfig.cpu" |
0e152d80 | 118 | |
8636a1f9 | 119 | source "arch/m68k/Kconfig.machine" |
0e152d80 | 120 | |
8636a1f9 | 121 | source "arch/m68k/Kconfig.bus" |
0e152d80 GU |
122 | |
123 | endmenu | |
124 | ||
125 | menu "Kernel Features" | |
1da177e4 | 126 | |
66d857b0 | 127 | endmenu |
5ac6da66 | 128 | |
66d857b0 GU |
129 | if !MMU |
130 | menu "Power management options" | |
1da177e4 | 131 | |
66d857b0 | 132 | config PM |
0e152d80 GU |
133 | bool "Power Management support" |
134 | help | |
135 | Support processor power management modes | |
1da177e4 LT |
136 | |
137 | endmenu | |
66d857b0 | 138 | endif |
1da177e4 | 139 | |
0e152d80 | 140 | source "arch/m68k/Kconfig.devices" |