Kconfig 2.9 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
L
Linus Torvalds 已提交
2 3 4
config M68K
	bool
	default y
5
	select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
6
	select ARCH_NO_COHERENT_DMA_MMAP if !MMU
7
	select ARCH_NO_PREEMPT if !COLDFIRE
S
Sam Ravnborg 已提交
8
	select HAVE_IDE
9
	select HAVE_AOUT if MMU
10
	select HAVE_DEBUG_BUGVERBOSE
11
	select GENERIC_IRQ_SHOW
12
	select GENERIC_ATOMIC64
13
	select HAVE_UID16
14
	select VIRT_TO_BUS
15
	select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
16
	select GENERIC_CPU_DEVICES
17
	select GENERIC_IOMAP
18 19
	select GENERIC_STRNCPY_FROM_USER if MMU
	select GENERIC_STRNLEN_USER if MMU
20
	select ARCH_WANT_IPC_PARSE_VERSION
21
	select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
22
	select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
23 24 25
	select HAVE_MOD_ARCH_SPECIFIC
	select MODULES_USE_ELF_REL
	select MODULES_USE_ELF_RELA
A
Al Viro 已提交
26
	select OLD_SIGSUSPEND3
27
	select OLD_SIGACTION
L
Linus Torvalds 已提交
28

29 30 31
config CPU_BIG_ENDIAN
	def_bool y

L
Linus Torvalds 已提交
32 33 34 35 36 37 38
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

39 40 41 42 43 44
config ARCH_HAS_ILOG2_U32
	bool

config ARCH_HAS_ILOG2_U64
	bool

45 46 47 48
config GENERIC_HWEIGHT
	bool
	default y

L
Linus Torvalds 已提交
49 50 51 52
config GENERIC_CALIBRATE_DELAY
	bool
	default y

53 54 55
config GENERIC_CSUM
	bool

56 57 58 59
config TIME_LOW_RES
	bool
	default y

60
config NO_IOPORT_MAP
A
Al Viro 已提交
61 62
	def_bool y

A
Al Viro 已提交
63
config NO_DMA
64
	def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
A
Al Viro 已提交
65

66 67 68
config ZONE_DMA
	bool
	default y
69

70 71
config HZ
	int
72
	default 1000 if CLEOPATRA
73 74
	default 100

75 76 77 78
config PGTABLE_LEVELS
	default 2 if SUN3 || COLDFIRE
	default 3

79 80
config MMU
	bool "MMU-based Paged Memory Management Support"
L
Linus Torvalds 已提交
81 82
	default y
	help
83 84
	  Select if you want MMU-based virtualised addressing space
	  support by paged memory management. If unsure, say 'Y'.
L
Linus Torvalds 已提交
85

86 87 88
config MMU_MOTOROLA
	bool

89 90 91
config MMU_COLDFIRE
	bool

92 93
config MMU_SUN3
	bool
94
	depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
95

G
Geert Uytterhoeven 已提交
96 97 98
config KEXEC
	bool "kexec system call"
	depends on M68KCLASSIC
99
	select KEXEC_CORE
G
Geert Uytterhoeven 已提交
100 101 102 103 104 105 106 107 108 109 110 111 112 113
	help
	  kexec is a system call that implements the ability to shutdown your
	  current kernel, and to start another kernel.  It is like a reboot
	  but it is independent of the system firmware.   And like a reboot
	  you can start any kernel with it, not just Linux.

	  The name comes from the similarity to the exec system call.

	  It is an ongoing process to be certain the hardware in a machine
	  is properly shutdown, so do not be surprised if this code does not
	  initially work for you.  As of this writing the exact hardware
	  interface is strongly in flux, so no good recommendation can be
	  made.

114 115 116 117 118 119 120
config BOOTINFO_PROC
	bool "Export bootinfo in procfs"
	depends on KEXEC && M68KCLASSIC
	help
	  Say Y to export the bootinfo used to boot the kernel in a
	  "bootinfo" file in procfs.  This is useful with kexec.

121 122 123 124 125 126 127 128 129 130 131
menu "Platform setup"

source arch/m68k/Kconfig.cpu

source arch/m68k/Kconfig.machine

source arch/m68k/Kconfig.bus

endmenu

menu "Kernel Features"
L
Linus Torvalds 已提交
132

133
endmenu
134

135 136
if !MMU
menu "Power management options"
L
Linus Torvalds 已提交
137

138
config PM
139 140 141
	bool "Power Management support"
	help
	  Support processor power management modes
L
Linus Torvalds 已提交
142 143

endmenu
144
endif
L
Linus Torvalds 已提交
145

146
source "arch/m68k/Kconfig.devices"