diff options
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 88 |
1 files changed, 37 insertions, 51 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 3ca0fe1a9123..705a7a9170f3 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -6,7 +6,7 @@ config MIPS | |||
6 | select HAVE_ARCH_KGDB | 6 | select HAVE_ARCH_KGDB |
7 | # Horrible source of confusion. Die, die, die ... | 7 | # Horrible source of confusion. Die, die, die ... |
8 | select EMBEDDED | 8 | select EMBEDDED |
9 | select RTC_LIB | 9 | select RTC_LIB if !LEMOTE_FULOONG2E |
10 | 10 | ||
11 | mainmenu "Linux/MIPS Kernel Configuration" | 11 | mainmenu "Linux/MIPS Kernel Configuration" |
12 | 12 | ||
@@ -80,6 +80,21 @@ config BCM47XX | |||
80 | help | 80 | help |
81 | Support for BCM47XX based boards | 81 | Support for BCM47XX based boards |
82 | 82 | ||
83 | config BCM63XX | ||
84 | bool "Broadcom BCM63XX based boards" | ||
85 | select CEVT_R4K | ||
86 | select CSRC_R4K | ||
87 | select DMA_NONCOHERENT | ||
88 | select IRQ_CPU | ||
89 | select SYS_HAS_CPU_MIPS32_R1 | ||
90 | select SYS_SUPPORTS_32BIT_KERNEL | ||
91 | select SYS_SUPPORTS_BIG_ENDIAN | ||
92 | select SYS_HAS_EARLY_PRINTK | ||
93 | select SWAP_IO_SPACE | ||
94 | select ARCH_REQUIRE_GPIOLIB | ||
95 | help | ||
96 | Support for BCM63XX based boards | ||
97 | |||
83 | config MIPS_COBALT | 98 | config MIPS_COBALT |
84 | bool "Cobalt Server" | 99 | bool "Cobalt Server" |
85 | select CEVT_R4K | 100 | select CEVT_R4K |
@@ -174,30 +189,15 @@ config LASAT | |||
174 | select SYS_SUPPORTS_64BIT_KERNEL if BROKEN | 189 | select SYS_SUPPORTS_64BIT_KERNEL if BROKEN |
175 | select SYS_SUPPORTS_LITTLE_ENDIAN | 190 | select SYS_SUPPORTS_LITTLE_ENDIAN |
176 | 191 | ||
177 | config LEMOTE_FULONG | 192 | config MACH_LOONGSON |
178 | bool "Lemote Fulong mini-PC" | 193 | bool "Loongson family of machines" |
179 | select ARCH_SPARSEMEM_ENABLE | ||
180 | select CEVT_R4K | ||
181 | select CSRC_R4K | ||
182 | select SYS_HAS_CPU_LOONGSON2 | ||
183 | select DMA_NONCOHERENT | ||
184 | select BOOT_ELF32 | ||
185 | select BOARD_SCACHE | ||
186 | select HAVE_STD_PC_SERIAL_PORT | ||
187 | select HW_HAS_PCI | ||
188 | select I8259 | ||
189 | select ISA | ||
190 | select IRQ_CPU | ||
191 | select SYS_SUPPORTS_32BIT_KERNEL | ||
192 | select SYS_SUPPORTS_64BIT_KERNEL | ||
193 | select SYS_SUPPORTS_LITTLE_ENDIAN | ||
194 | select SYS_SUPPORTS_HIGHMEM | ||
195 | select SYS_HAS_EARLY_PRINTK | ||
196 | select GENERIC_ISA_DMA_SUPPORT_BROKEN | ||
197 | select CPU_HAS_WB | ||
198 | help | 194 | help |
199 | Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and | 195 | This enables the support of Loongson family of machines. |
200 | an FPGA northbridge | 196 | |
197 | Loongson is a family of general-purpose MIPS-compatible CPUs. | ||
198 | developed at Institute of Computing Technology (ICT), | ||
199 | Chinese Academy of Sciences (CAS) in the People's Republic | ||
200 | of China. The chief architect is Professor Weiwu Hu. | ||
201 | 201 | ||
202 | config MIPS_MALTA | 202 | config MIPS_MALTA |
203 | bool "MIPS Malta board" | 203 | bool "MIPS Malta board" |
@@ -660,6 +660,7 @@ endchoice | |||
660 | 660 | ||
661 | source "arch/mips/alchemy/Kconfig" | 661 | source "arch/mips/alchemy/Kconfig" |
662 | source "arch/mips/basler/excite/Kconfig" | 662 | source "arch/mips/basler/excite/Kconfig" |
663 | source "arch/mips/bcm63xx/Kconfig" | ||
663 | source "arch/mips/jazz/Kconfig" | 664 | source "arch/mips/jazz/Kconfig" |
664 | source "arch/mips/lasat/Kconfig" | 665 | source "arch/mips/lasat/Kconfig" |
665 | source "arch/mips/pmc-sierra/Kconfig" | 666 | source "arch/mips/pmc-sierra/Kconfig" |
@@ -668,6 +669,7 @@ source "arch/mips/sibyte/Kconfig" | |||
668 | source "arch/mips/txx9/Kconfig" | 669 | source "arch/mips/txx9/Kconfig" |
669 | source "arch/mips/vr41xx/Kconfig" | 670 | source "arch/mips/vr41xx/Kconfig" |
670 | source "arch/mips/cavium-octeon/Kconfig" | 671 | source "arch/mips/cavium-octeon/Kconfig" |
672 | source "arch/mips/loongson/Kconfig" | ||
671 | 673 | ||
672 | endmenu | 674 | endmenu |
673 | 675 | ||
@@ -1044,12 +1046,10 @@ choice | |||
1044 | prompt "CPU type" | 1046 | prompt "CPU type" |
1045 | default CPU_R4X00 | 1047 | default CPU_R4X00 |
1046 | 1048 | ||
1047 | config CPU_LOONGSON2 | 1049 | config CPU_LOONGSON2E |
1048 | bool "Loongson 2" | 1050 | bool "Loongson 2E" |
1049 | depends on SYS_HAS_CPU_LOONGSON2 | 1051 | depends on SYS_HAS_CPU_LOONGSON2E |
1050 | select CPU_SUPPORTS_32BIT_KERNEL | 1052 | select CPU_LOONGSON2 |
1051 | select CPU_SUPPORTS_64BIT_KERNEL | ||
1052 | select CPU_SUPPORTS_HIGHMEM | ||
1053 | help | 1053 | help |
1054 | The Loongson 2E processor implements the MIPS III instruction set | 1054 | The Loongson 2E processor implements the MIPS III instruction set |
1055 | with many extensions. | 1055 | with many extensions. |
@@ -1057,7 +1057,6 @@ config CPU_LOONGSON2 | |||
1057 | config CPU_MIPS32_R1 | 1057 | config CPU_MIPS32_R1 |
1058 | bool "MIPS32 Release 1" | 1058 | bool "MIPS32 Release 1" |
1059 | depends on SYS_HAS_CPU_MIPS32_R1 | 1059 | depends on SYS_HAS_CPU_MIPS32_R1 |
1060 | select CPU_HAS_LLSC | ||
1061 | select CPU_HAS_PREFETCH | 1060 | select CPU_HAS_PREFETCH |
1062 | select CPU_SUPPORTS_32BIT_KERNEL | 1061 | select CPU_SUPPORTS_32BIT_KERNEL |
1063 | select CPU_SUPPORTS_HIGHMEM | 1062 | select CPU_SUPPORTS_HIGHMEM |
@@ -1075,7 +1074,6 @@ config CPU_MIPS32_R1 | |||
1075 | config CPU_MIPS32_R2 | 1074 | config CPU_MIPS32_R2 |
1076 | bool "MIPS32 Release 2" | 1075 | bool "MIPS32 Release 2" |
1077 | depends on SYS_HAS_CPU_MIPS32_R2 | 1076 | depends on SYS_HAS_CPU_MIPS32_R2 |
1078 | select CPU_HAS_LLSC | ||
1079 | select CPU_HAS_PREFETCH | 1077 | select CPU_HAS_PREFETCH |
1080 | select CPU_SUPPORTS_32BIT_KERNEL | 1078 | select CPU_SUPPORTS_32BIT_KERNEL |
1081 | select CPU_SUPPORTS_HIGHMEM | 1079 | select CPU_SUPPORTS_HIGHMEM |
@@ -1089,7 +1087,6 @@ config CPU_MIPS32_R2 | |||
1089 | config CPU_MIPS64_R1 | 1087 | config CPU_MIPS64_R1 |
1090 | bool "MIPS64 Release 1" | 1088 | bool "MIPS64 Release 1" |
1091 | depends on SYS_HAS_CPU_MIPS64_R1 | 1089 | depends on SYS_HAS_CPU_MIPS64_R1 |
1092 | select CPU_HAS_LLSC | ||
1093 | select CPU_HAS_PREFETCH | 1090 | select CPU_HAS_PREFETCH |
1094 | select CPU_SUPPORTS_32BIT_KERNEL | 1091 | select CPU_SUPPORTS_32BIT_KERNEL |
1095 | select CPU_SUPPORTS_64BIT_KERNEL | 1092 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1109,7 +1106,6 @@ config CPU_MIPS64_R1 | |||
1109 | config CPU_MIPS64_R2 | 1106 | config CPU_MIPS64_R2 |
1110 | bool "MIPS64 Release 2" | 1107 | bool "MIPS64 Release 2" |
1111 | depends on SYS_HAS_CPU_MIPS64_R2 | 1108 | depends on SYS_HAS_CPU_MIPS64_R2 |
1112 | select CPU_HAS_LLSC | ||
1113 | select CPU_HAS_PREFETCH | 1109 | select CPU_HAS_PREFETCH |
1114 | select CPU_SUPPORTS_32BIT_KERNEL | 1110 | select CPU_SUPPORTS_32BIT_KERNEL |
1115 | select CPU_SUPPORTS_64BIT_KERNEL | 1111 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1155,7 +1151,6 @@ config CPU_VR41XX | |||
1155 | config CPU_R4300 | 1151 | config CPU_R4300 |
1156 | bool "R4300" | 1152 | bool "R4300" |
1157 | depends on SYS_HAS_CPU_R4300 | 1153 | depends on SYS_HAS_CPU_R4300 |
1158 | select CPU_HAS_LLSC | ||
1159 | select CPU_SUPPORTS_32BIT_KERNEL | 1154 | select CPU_SUPPORTS_32BIT_KERNEL |
1160 | select CPU_SUPPORTS_64BIT_KERNEL | 1155 | select CPU_SUPPORTS_64BIT_KERNEL |
1161 | help | 1156 | help |
@@ -1164,7 +1159,6 @@ config CPU_R4300 | |||
1164 | config CPU_R4X00 | 1159 | config CPU_R4X00 |
1165 | bool "R4x00" | 1160 | bool "R4x00" |
1166 | depends on SYS_HAS_CPU_R4X00 | 1161 | depends on SYS_HAS_CPU_R4X00 |
1167 | select CPU_HAS_LLSC | ||
1168 | select CPU_SUPPORTS_32BIT_KERNEL | 1162 | select CPU_SUPPORTS_32BIT_KERNEL |
1169 | select CPU_SUPPORTS_64BIT_KERNEL | 1163 | select CPU_SUPPORTS_64BIT_KERNEL |
1170 | help | 1164 | help |
@@ -1174,7 +1168,6 @@ config CPU_R4X00 | |||
1174 | config CPU_TX49XX | 1168 | config CPU_TX49XX |
1175 | bool "R49XX" | 1169 | bool "R49XX" |
1176 | depends on SYS_HAS_CPU_TX49XX | 1170 | depends on SYS_HAS_CPU_TX49XX |
1177 | select CPU_HAS_LLSC | ||
1178 | select CPU_HAS_PREFETCH | 1171 | select CPU_HAS_PREFETCH |
1179 | select CPU_SUPPORTS_32BIT_KERNEL | 1172 | select CPU_SUPPORTS_32BIT_KERNEL |
1180 | select CPU_SUPPORTS_64BIT_KERNEL | 1173 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1182,7 +1175,6 @@ config CPU_TX49XX | |||
1182 | config CPU_R5000 | 1175 | config CPU_R5000 |
1183 | bool "R5000" | 1176 | bool "R5000" |
1184 | depends on SYS_HAS_CPU_R5000 | 1177 | depends on SYS_HAS_CPU_R5000 |
1185 | select CPU_HAS_LLSC | ||
1186 | select CPU_SUPPORTS_32BIT_KERNEL | 1178 | select CPU_SUPPORTS_32BIT_KERNEL |
1187 | select CPU_SUPPORTS_64BIT_KERNEL | 1179 | select CPU_SUPPORTS_64BIT_KERNEL |
1188 | help | 1180 | help |
@@ -1191,14 +1183,12 @@ config CPU_R5000 | |||
1191 | config CPU_R5432 | 1183 | config CPU_R5432 |
1192 | bool "R5432" | 1184 | bool "R5432" |
1193 | depends on SYS_HAS_CPU_R5432 | 1185 | depends on SYS_HAS_CPU_R5432 |
1194 | select CPU_HAS_LLSC | ||
1195 | select CPU_SUPPORTS_32BIT_KERNEL | 1186 | select CPU_SUPPORTS_32BIT_KERNEL |
1196 | select CPU_SUPPORTS_64BIT_KERNEL | 1187 | select CPU_SUPPORTS_64BIT_KERNEL |
1197 | 1188 | ||
1198 | config CPU_R5500 | 1189 | config CPU_R5500 |
1199 | bool "R5500" | 1190 | bool "R5500" |
1200 | depends on SYS_HAS_CPU_R5500 | 1191 | depends on SYS_HAS_CPU_R5500 |
1201 | select CPU_HAS_LLSC | ||
1202 | select CPU_SUPPORTS_32BIT_KERNEL | 1192 | select CPU_SUPPORTS_32BIT_KERNEL |
1203 | select CPU_SUPPORTS_64BIT_KERNEL | 1193 | select CPU_SUPPORTS_64BIT_KERNEL |
1204 | select CPU_SUPPORTS_HUGEPAGES | 1194 | select CPU_SUPPORTS_HUGEPAGES |
@@ -1209,7 +1199,6 @@ config CPU_R5500 | |||
1209 | config CPU_R6000 | 1199 | config CPU_R6000 |
1210 | bool "R6000" | 1200 | bool "R6000" |
1211 | depends on EXPERIMENTAL | 1201 | depends on EXPERIMENTAL |
1212 | select CPU_HAS_LLSC | ||
1213 | depends on SYS_HAS_CPU_R6000 | 1202 | depends on SYS_HAS_CPU_R6000 |
1214 | select CPU_SUPPORTS_32BIT_KERNEL | 1203 | select CPU_SUPPORTS_32BIT_KERNEL |
1215 | help | 1204 | help |
@@ -1219,7 +1208,6 @@ config CPU_R6000 | |||
1219 | config CPU_NEVADA | 1208 | config CPU_NEVADA |
1220 | bool "RM52xx" | 1209 | bool "RM52xx" |
1221 | depends on SYS_HAS_CPU_NEVADA | 1210 | depends on SYS_HAS_CPU_NEVADA |
1222 | select CPU_HAS_LLSC | ||
1223 | select CPU_SUPPORTS_32BIT_KERNEL | 1211 | select CPU_SUPPORTS_32BIT_KERNEL |
1224 | select CPU_SUPPORTS_64BIT_KERNEL | 1212 | select CPU_SUPPORTS_64BIT_KERNEL |
1225 | help | 1213 | help |
@@ -1229,7 +1217,6 @@ config CPU_R8000 | |||
1229 | bool "R8000" | 1217 | bool "R8000" |
1230 | depends on EXPERIMENTAL | 1218 | depends on EXPERIMENTAL |
1231 | depends on SYS_HAS_CPU_R8000 | 1219 | depends on SYS_HAS_CPU_R8000 |
1232 | select CPU_HAS_LLSC | ||
1233 | select CPU_HAS_PREFETCH | 1220 | select CPU_HAS_PREFETCH |
1234 | select CPU_SUPPORTS_64BIT_KERNEL | 1221 | select CPU_SUPPORTS_64BIT_KERNEL |
1235 | help | 1222 | help |
@@ -1239,7 +1226,6 @@ config CPU_R8000 | |||
1239 | config CPU_R10000 | 1226 | config CPU_R10000 |
1240 | bool "R10000" | 1227 | bool "R10000" |
1241 | depends on SYS_HAS_CPU_R10000 | 1228 | depends on SYS_HAS_CPU_R10000 |
1242 | select CPU_HAS_LLSC | ||
1243 | select CPU_HAS_PREFETCH | 1229 | select CPU_HAS_PREFETCH |
1244 | select CPU_SUPPORTS_32BIT_KERNEL | 1230 | select CPU_SUPPORTS_32BIT_KERNEL |
1245 | select CPU_SUPPORTS_64BIT_KERNEL | 1231 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1250,7 +1236,6 @@ config CPU_R10000 | |||
1250 | config CPU_RM7000 | 1236 | config CPU_RM7000 |
1251 | bool "RM7000" | 1237 | bool "RM7000" |
1252 | depends on SYS_HAS_CPU_RM7000 | 1238 | depends on SYS_HAS_CPU_RM7000 |
1253 | select CPU_HAS_LLSC | ||
1254 | select CPU_HAS_PREFETCH | 1239 | select CPU_HAS_PREFETCH |
1255 | select CPU_SUPPORTS_32BIT_KERNEL | 1240 | select CPU_SUPPORTS_32BIT_KERNEL |
1256 | select CPU_SUPPORTS_64BIT_KERNEL | 1241 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1259,7 +1244,6 @@ config CPU_RM7000 | |||
1259 | config CPU_RM9000 | 1244 | config CPU_RM9000 |
1260 | bool "RM9000" | 1245 | bool "RM9000" |
1261 | depends on SYS_HAS_CPU_RM9000 | 1246 | depends on SYS_HAS_CPU_RM9000 |
1262 | select CPU_HAS_LLSC | ||
1263 | select CPU_HAS_PREFETCH | 1247 | select CPU_HAS_PREFETCH |
1264 | select CPU_SUPPORTS_32BIT_KERNEL | 1248 | select CPU_SUPPORTS_32BIT_KERNEL |
1265 | select CPU_SUPPORTS_64BIT_KERNEL | 1249 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1269,7 +1253,6 @@ config CPU_RM9000 | |||
1269 | config CPU_SB1 | 1253 | config CPU_SB1 |
1270 | bool "SB1" | 1254 | bool "SB1" |
1271 | depends on SYS_HAS_CPU_SB1 | 1255 | depends on SYS_HAS_CPU_SB1 |
1272 | select CPU_HAS_LLSC | ||
1273 | select CPU_SUPPORTS_32BIT_KERNEL | 1256 | select CPU_SUPPORTS_32BIT_KERNEL |
1274 | select CPU_SUPPORTS_64BIT_KERNEL | 1257 | select CPU_SUPPORTS_64BIT_KERNEL |
1275 | select CPU_SUPPORTS_HIGHMEM | 1258 | select CPU_SUPPORTS_HIGHMEM |
@@ -1296,7 +1279,13 @@ config CPU_CAVIUM_OCTEON | |||
1296 | 1279 | ||
1297 | endchoice | 1280 | endchoice |
1298 | 1281 | ||
1299 | config SYS_HAS_CPU_LOONGSON2 | 1282 | config CPU_LOONGSON2 |
1283 | bool | ||
1284 | select CPU_SUPPORTS_32BIT_KERNEL | ||
1285 | select CPU_SUPPORTS_64BIT_KERNEL | ||
1286 | select CPU_SUPPORTS_HIGHMEM | ||
1287 | |||
1288 | config SYS_HAS_CPU_LOONGSON2E | ||
1300 | bool | 1289 | bool |
1301 | 1290 | ||
1302 | config SYS_HAS_CPU_MIPS32_R1 | 1291 | config SYS_HAS_CPU_MIPS32_R1 |
@@ -1683,9 +1672,6 @@ config SB1_PASS_2_1_WORKAROUNDS | |||
1683 | config 64BIT_PHYS_ADDR | 1672 | config 64BIT_PHYS_ADDR |
1684 | bool | 1673 | bool |
1685 | 1674 | ||
1686 | config CPU_HAS_LLSC | ||
1687 | bool | ||
1688 | |||
1689 | config CPU_HAS_SMARTMIPS | 1675 | config CPU_HAS_SMARTMIPS |
1690 | depends on SYS_SUPPORTS_SMARTMIPS | 1676 | depends on SYS_SUPPORTS_SMARTMIPS |
1691 | bool "Support for the SmartMIPS ASE" | 1677 | bool "Support for the SmartMIPS ASE" |