Merge branch 'x86-irq-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / arch / m68k / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 config M68K
3         bool
4         default y
5         select ARCH_32BIT_OFF_T
6         select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
7         select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
8         select ARCH_NO_COHERENT_DMA_MMAP if !MMU
9         select ARCH_NO_PREEMPT if !COLDFIRE
10         select HAVE_IDE
11         select HAVE_AOUT if MMU
12         select HAVE_DEBUG_BUGVERBOSE
13         select GENERIC_IRQ_SHOW
14         select GENERIC_ATOMIC64
15         select HAVE_UID16
16         select VIRT_TO_BUS
17         select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
18         select GENERIC_CPU_DEVICES
19         select GENERIC_IOMAP
20         select GENERIC_STRNCPY_FROM_USER if MMU
21         select GENERIC_STRNLEN_USER if MMU
22         select ARCH_WANT_IPC_PARSE_VERSION
23         select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
24         select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
25         select HAVE_MOD_ARCH_SPECIFIC
26         select MODULES_USE_ELF_REL
27         select MODULES_USE_ELF_RELA
28         select OLD_SIGSUSPEND3
29         select OLD_SIGACTION
30         select ARCH_DISCARD_MEMBLOCK
31         select MMU_GATHER_NO_RANGE if MMU
32
33 config CPU_BIG_ENDIAN
34         def_bool y
35
36 config ARCH_HAS_ILOG2_U32
37         bool
38
39 config ARCH_HAS_ILOG2_U64
40         bool
41
42 config GENERIC_HWEIGHT
43         bool
44         default y
45
46 config GENERIC_CALIBRATE_DELAY
47         bool
48         default y
49
50 config GENERIC_CSUM
51         bool
52
53 config TIME_LOW_RES
54         bool
55         default y
56
57 config NO_IOPORT_MAP
58         def_bool y
59
60 config NO_DMA
61         def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
62
63 config ZONE_DMA
64         bool
65         default y
66
67 config HZ
68         int
69         default 1000 if CLEOPATRA
70         default 100
71
72 config PGTABLE_LEVELS
73         default 2 if SUN3 || COLDFIRE
74         default 3
75
76 config MMU
77         bool "MMU-based Paged Memory Management Support"
78         default y
79         help
80           Select if you want MMU-based virtualised addressing space
81           support by paged memory management. If unsure, say 'Y'.
82
83 config MMU_MOTOROLA
84         bool
85
86 config MMU_COLDFIRE
87         bool
88
89 config MMU_SUN3
90         bool
91         depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
92
93 config KEXEC
94         bool "kexec system call"
95         depends on M68KCLASSIC
96         select KEXEC_CORE
97         help
98           kexec is a system call that implements the ability to shutdown your
99           current kernel, and to start another kernel.  It is like a reboot
100           but it is independent of the system firmware.   And like a reboot
101           you can start any kernel with it, not just Linux.
102
103           The name comes from the similarity to the exec system call.
104
105           It is an ongoing process to be certain the hardware in a machine
106           is properly shutdown, so do not be surprised if this code does not
107           initially work for you.  As of this writing the exact hardware
108           interface is strongly in flux, so no good recommendation can be
109           made.
110
111 config BOOTINFO_PROC
112         bool "Export bootinfo in procfs"
113         depends on KEXEC && M68KCLASSIC
114         help
115           Say Y to export the bootinfo used to boot the kernel in a
116           "bootinfo" file in procfs.  This is useful with kexec.
117
118 menu "Platform setup"
119
120 source "arch/m68k/Kconfig.cpu"
121
122 source "arch/m68k/Kconfig.machine"
123
124 source "arch/m68k/Kconfig.bus"
125
126 endmenu
127
128 menu "Kernel Features"
129
130 endmenu
131
132 if !MMU
133 menu "Power management options"
134
135 config PM
136         bool "Power Management support"
137         help
138           Support processor power management modes
139
140 endmenu
141 endif
142
143 source "arch/m68k/Kconfig.devices"