aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2011-11-11 01:30:24 -0500
committerRalf Baechle <ralf@linux-mips.org>2011-12-07 17:03:17 -0500
commit1bbb6c1b7b6c4dffd0d5ff8787691e0ea4c6a796 (patch)
tree631f608a90bccf7e2aeedace3bda1ebdcee122a5 /arch/mips/Kconfig
parent5611cc4572e889b62a7b4c72a413536bf6a9c416 (diff)
MIPS: BMIPS: Fix up Kconfig settings
Factor out common BMIPS options into "CPU_BMIPS". Add L2 cache for BMIPS5000. Add CPU_MIPS32 to satisfy checks in page.h, r4k_switch.S, tlb-r4k.c, etc. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2953/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig34
1 files changed, 14 insertions, 20 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index d46f1da18a3c..e7587ac3265a 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1413,51 +1413,36 @@ config CPU_CAVIUM_OCTEON
1413config CPU_BMIPS3300 1413config CPU_BMIPS3300
1414 bool "BMIPS3300" 1414 bool "BMIPS3300"
1415 depends on SYS_HAS_CPU_BMIPS3300 1415 depends on SYS_HAS_CPU_BMIPS3300
1416 select DMA_NONCOHERENT 1416 select CPU_BMIPS
1417 select IRQ_CPU
1418 select SWAP_IO_SPACE
1419 select SYS_SUPPORTS_32BIT_KERNEL
1420 select WEAK_ORDERING
1421 help 1417 help
1422 Broadcom BMIPS3300 processors. 1418 Broadcom BMIPS3300 processors.
1423 1419
1424config CPU_BMIPS4350 1420config CPU_BMIPS4350
1425 bool "BMIPS4350" 1421 bool "BMIPS4350"
1426 depends on SYS_HAS_CPU_BMIPS4350 1422 depends on SYS_HAS_CPU_BMIPS4350
1427 select CPU_SUPPORTS_32BIT_KERNEL 1423 select CPU_BMIPS
1428 select DMA_NONCOHERENT
1429 select IRQ_CPU
1430 select SWAP_IO_SPACE
1431 select SYS_SUPPORTS_SMP 1424 select SYS_SUPPORTS_SMP
1432 select SYS_SUPPORTS_HOTPLUG_CPU 1425 select SYS_SUPPORTS_HOTPLUG_CPU
1433 select WEAK_ORDERING
1434 help 1426 help
1435 Broadcom BMIPS4350 ("VIPER") processors. 1427 Broadcom BMIPS4350 ("VIPER") processors.
1436 1428
1437config CPU_BMIPS4380 1429config CPU_BMIPS4380
1438 bool "BMIPS4380" 1430 bool "BMIPS4380"
1439 depends on SYS_HAS_CPU_BMIPS4380 1431 depends on SYS_HAS_CPU_BMIPS4380
1440 select CPU_SUPPORTS_32BIT_KERNEL 1432 select CPU_BMIPS
1441 select DMA_NONCOHERENT
1442 select IRQ_CPU
1443 select SWAP_IO_SPACE
1444 select SYS_SUPPORTS_SMP 1433 select SYS_SUPPORTS_SMP
1445 select SYS_SUPPORTS_HOTPLUG_CPU 1434 select SYS_SUPPORTS_HOTPLUG_CPU
1446 select WEAK_ORDERING
1447 help 1435 help
1448 Broadcom BMIPS4380 processors. 1436 Broadcom BMIPS4380 processors.
1449 1437
1450config CPU_BMIPS5000 1438config CPU_BMIPS5000
1451 bool "BMIPS5000" 1439 bool "BMIPS5000"
1452 depends on SYS_HAS_CPU_BMIPS5000 1440 depends on SYS_HAS_CPU_BMIPS5000
1453 select CPU_SUPPORTS_32BIT_KERNEL 1441 select CPU_BMIPS
1454 select CPU_SUPPORTS_HIGHMEM 1442 select CPU_SUPPORTS_HIGHMEM
1455 select DMA_NONCOHERENT 1443 select MIPS_CPU_SCACHE
1456 select IRQ_CPU
1457 select SWAP_IO_SPACE
1458 select SYS_SUPPORTS_SMP 1444 select SYS_SUPPORTS_SMP
1459 select SYS_SUPPORTS_HOTPLUG_CPU 1445 select SYS_SUPPORTS_HOTPLUG_CPU
1460 select WEAK_ORDERING
1461 help 1446 help
1462 Broadcom BMIPS5000 processors. 1447 Broadcom BMIPS5000 processors.
1463 1448
@@ -1518,6 +1503,15 @@ config CPU_LOONGSON2
1518 select CPU_SUPPORTS_64BIT_KERNEL 1503 select CPU_SUPPORTS_64BIT_KERNEL
1519 select CPU_SUPPORTS_HIGHMEM 1504 select CPU_SUPPORTS_HIGHMEM
1520 1505
1506config CPU_BMIPS
1507 bool
1508 select CPU_MIPS32
1509 select CPU_SUPPORTS_32BIT_KERNEL
1510 select DMA_NONCOHERENT
1511 select IRQ_CPU
1512 select SWAP_IO_SPACE
1513 select WEAK_ORDERING
1514
1521config SYS_HAS_CPU_LOONGSON2E 1515config SYS_HAS_CPU_LOONGSON2E
1522 bool 1516 bool
1523 1517