drm/amdgpu: fall back to INPUT power for AVG power via INFO IOCTL
[platform/kernel/linux-starfive.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_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 HAS_DMA && MMU && !COLDFIRE
10         select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_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 HAS_DMA && MMU && !COLDFIRE
18         select GENERIC_ATOMIC64
19         select GENERIC_CPU_DEVICES
20         select GENERIC_IOMAP
21         select GENERIC_IRQ_SHOW
22         select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA
23         select HAVE_ARCH_SECCOMP
24         select HAVE_ARCH_SECCOMP_FILTER
25         select HAVE_ASM_MODVERSIONS
26         select HAVE_DEBUG_BUGVERBOSE
27         select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
28         select HAVE_MOD_ARCH_SPECIFIC
29         select HAVE_UID16
30         select MMU_GATHER_NO_RANGE if MMU
31         select MODULES_USE_ELF_REL
32         select MODULES_USE_ELF_RELA
33         select NO_DMA if !MMU && !COLDFIRE
34         select OLD_SIGACTION
35         select OLD_SIGSUSPEND3
36         select UACCESS_MEMCPY if !MMU
37         select ZONE_DMA
38
39 config CPU_BIG_ENDIAN
40         def_bool y
41
42 config ARCH_HAS_ILOG2_U32
43         bool
44
45 config ARCH_HAS_ILOG2_U64
46         bool
47
48 config GENERIC_HWEIGHT
49         bool
50         default y
51
52 config GENERIC_CALIBRATE_DELAY
53         bool
54         default y
55
56 config GENERIC_CSUM
57         bool
58
59 config TIME_LOW_RES
60         bool
61         default y
62
63 config NO_IOPORT_MAP
64         def_bool y
65
66 config HZ
67         int
68         default 1000 if CLEOPATRA
69         default 100
70
71 config PGTABLE_LEVELS
72         default 2 if SUN3 || COLDFIRE
73         default 3
74
75 config MMU
76         bool "MMU-based Paged Memory Management Support"
77         default y
78         help
79           Select if you want MMU-based virtualised addressing space
80           support by paged memory management. If unsure, say 'Y'.
81
82 config MMU_MOTOROLA
83         bool
84
85 config MMU_COLDFIRE
86         bool
87
88 config MMU_SUN3
89         bool
90         depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
91
92 config ARCH_SUPPORTS_KEXEC
93         def_bool M68KCLASSIC && MMU
94
95 config BOOTINFO_PROC
96         bool "Export bootinfo in procfs"
97         depends on KEXEC && M68KCLASSIC
98         help
99           Say Y to export the bootinfo used to boot the kernel in a
100           "bootinfo" file in procfs.  This is useful with kexec.
101
102 menu "Platform setup"
103
104 source "arch/m68k/Kconfig.cpu"
105
106 source "arch/m68k/Kconfig.machine"
107
108 source "arch/m68k/Kconfig.bus"
109
110 endmenu
111
112 menu "Kernel Features"
113
114 endmenu
115
116 if !MMU
117 menu "Power management options"
118
119 config PM
120         bool "Power Management support"
121         help
122           Support processor power management modes
123
124 endmenu
125 endif
126
127 source "arch/m68k/Kconfig.devices"