Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68knommu: create config options for CPU classes

There are 3 families of CPU core types that we support in the m68knommu
architecture branch. They are

. traditional 68000
. CPU32 (a 68020 core derivative without MMU or bitfield instructions)
. ColdFire

It will be useful going forward to have a CONFIG_ option defined for
each type. We already have one for ColdFire (CONFIG_COLDFIRE), so add
for the other 2 families, CONFIG_M68000 and CONFIG_MCPU32.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>

+45 -7
+45 -7
arch/m68k/Kconfig.nommu
··· 14 14 bool 15 15 default n 16 16 17 + config M68000 18 + bool 19 + help 20 + The Freescale (was Motorola) 68000 CPU is the first generation of 21 + the well known M68K family of processors. The CPU core as well as 22 + being available as a stand alone CPU was also used in many 23 + System-On-Chip devices (eg 68328, 68302, etc). It does not contain 24 + a paging MMU. 25 + 26 + config MCPU32 27 + bool 28 + help 29 + The Freescale (was then Motorola) CPU32 is a CPU core that is 30 + based on the 68020 processor. For the most part it is used in 31 + System-On-Chip parts, and does not contain a paging MMU. 32 + 33 + config COLDFIRE 34 + bool 35 + select GENERIC_GPIO 36 + select ARCH_REQUIRE_GPIOLIB 37 + help 38 + The Freescale ColdFire family of processors is a modern derivitive 39 + of the 68000 processor family. They are mainly targeted at embedded 40 + applications, and are all System-On-Chip (SOC) devices, as opposed 41 + to stand alone CPUs. They implement a subset of the original 68000 42 + processor instruction set. 43 + 17 44 config COLDFIRE_SW_A7 18 45 bool 19 46 default n ··· 63 36 64 37 config M68328 65 38 bool "MC68328" 39 + select M68000 66 40 help 67 41 Motorola 68328 processor support. 68 42 69 43 config M68EZ328 70 44 bool "MC68EZ328" 45 + select M68000 71 46 help 72 47 Motorola 68EX328 processor support. 73 48 74 49 config M68VZ328 75 50 bool "MC68VZ328" 51 + select M68000 76 52 help 77 53 Motorola 68VZ328 processor support. 78 54 79 55 config M68360 80 56 bool "MC68360" 57 + select MCPU32 81 58 help 82 59 Motorola 68360 processor support. 83 60 84 61 config M5206 85 62 bool "MCF5206" 63 + select COLDFIRE 86 64 select COLDFIRE_SW_A7 87 65 select HAVE_MBAR 88 66 help ··· 95 63 96 64 config M5206e 97 65 bool "MCF5206e" 66 + select COLDFIRE 98 67 select COLDFIRE_SW_A7 99 68 select HAVE_MBAR 100 69 help ··· 103 70 104 71 config M520x 105 72 bool "MCF520x" 73 + select COLDFIRE 106 74 select GENERIC_CLOCKEVENTS 107 75 select HAVE_CACHE_SPLIT 108 76 help ··· 111 77 112 78 config M523x 113 79 bool "MCF523x" 80 + select COLDFIRE 114 81 select GENERIC_CLOCKEVENTS 115 82 select HAVE_CACHE_SPLIT 116 83 select HAVE_IPSBAR ··· 120 85 121 86 config M5249 122 87 bool "MCF5249" 88 + select COLDFIRE 123 89 select COLDFIRE_SW_A7 124 90 select HAVE_MBAR 125 91 help ··· 128 92 129 93 config M5271 130 94 bool "MCF5271" 95 + select COLDFIRE 131 96 select HAVE_CACHE_SPLIT 132 97 select HAVE_IPSBAR 133 98 help ··· 136 99 137 100 config M5272 138 101 bool "MCF5272" 102 + select COLDFIRE 139 103 select COLDFIRE_SW_A7 140 104 select HAVE_MBAR 141 105 help ··· 144 106 145 107 config M5275 146 108 bool "MCF5275" 109 + select COLDFIRE 147 110 select HAVE_CACHE_SPLIT 148 111 select HAVE_IPSBAR 149 112 help ··· 152 113 153 114 config M528x 154 115 bool "MCF528x" 116 + select COLDFIRE 155 117 select GENERIC_CLOCKEVENTS 156 118 select HAVE_CACHE_SPLIT 157 119 select HAVE_IPSBAR ··· 161 121 162 122 config M5307 163 123 bool "MCF5307" 124 + select COLDFIRE 164 125 select COLDFIRE_SW_A7 165 126 select HAVE_CACHE_CB 166 127 select HAVE_MBAR ··· 170 129 171 130 config M532x 172 131 bool "MCF532x" 132 + select COLDFIRE 173 133 select HAVE_CACHE_CB 174 134 help 175 135 Freescale (Motorola) ColdFire 532x processor support. 176 136 177 137 config M5407 178 138 bool "MCF5407" 139 + select COLDFIRE 179 140 select COLDFIRE_SW_A7 180 141 select HAVE_CACHE_CB 181 142 select HAVE_MBAR ··· 186 143 187 144 config M547x 188 145 bool "MCF547x" 146 + select COLDFIRE 189 147 select HAVE_CACHE_CB 190 148 select HAVE_MBAR 191 149 help ··· 194 150 195 151 config M548x 196 152 bool "MCF548x" 153 + select COLDFIRE 197 154 select HAVE_CACHE_CB 198 155 select HAVE_MBAR 199 156 help ··· 211 166 config M54xx 212 167 bool 213 168 depends on (M548x || M547x) 214 - default y 215 - 216 - config COLDFIRE 217 - bool 218 - depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407 || M54xx) 219 - select GENERIC_GPIO 220 - select ARCH_REQUIRE_GPIOLIB 221 169 default y 222 170 223 171 config CLOCK_SET