diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2010-10-17 13:56:53 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-10-29 14:08:51 -0400 |
commit | c1c0c461c6e5f55add64012249cd6e2c8b3e62a9 (patch) | |
tree | 03e5a608c038f8c86da8b69d9dfef4874ba379df /arch/mips/Kconfig | |
parent | 602977b0d672687909b0cb0542ede134ed6ef858 (diff) |
MIPS: Add BMIPS processor types to Kconfig
[v2: add "VIPER" marketing name for BMIPS4350]
Add processor feature definitions for BMIPS3300, BMIPS4350, BMIPS4380,
and BMIPS5000.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Cc: mbizon@freebox.fr
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Tested-by: Florian Fainelli <ffainelli@freebox.fr>
Patchwork: https://patchwork.linux-mips.org/patch/1716/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index e915750679b6..d96ceffbe409 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1341,6 +1341,57 @@ config CPU_CAVIUM_OCTEON | |||
1341 | can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets. | 1341 | can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets. |
1342 | Full details can be found at http://www.caviumnetworks.com. | 1342 | Full details can be found at http://www.caviumnetworks.com. |
1343 | 1343 | ||
1344 | config CPU_BMIPS3300 | ||
1345 | bool "BMIPS3300" | ||
1346 | depends on SYS_HAS_CPU_BMIPS3300 | ||
1347 | select DMA_NONCOHERENT | ||
1348 | select IRQ_CPU | ||
1349 | select SWAP_IO_SPACE | ||
1350 | select SYS_SUPPORTS_32BIT_KERNEL | ||
1351 | select WEAK_ORDERING | ||
1352 | help | ||
1353 | Broadcom BMIPS3300 processors. | ||
1354 | |||
1355 | config CPU_BMIPS4350 | ||
1356 | bool "BMIPS4350" | ||
1357 | depends on SYS_HAS_CPU_BMIPS4350 | ||
1358 | select CPU_SUPPORTS_32BIT_KERNEL | ||
1359 | select DMA_NONCOHERENT | ||
1360 | select IRQ_CPU | ||
1361 | select SWAP_IO_SPACE | ||
1362 | select SYS_SUPPORTS_SMP | ||
1363 | select SYS_SUPPORTS_HOTPLUG_CPU | ||
1364 | select WEAK_ORDERING | ||
1365 | help | ||
1366 | Broadcom BMIPS4350 ("VIPER") processors. | ||
1367 | |||
1368 | config CPU_BMIPS4380 | ||
1369 | bool "BMIPS4380" | ||
1370 | depends on SYS_HAS_CPU_BMIPS4380 | ||
1371 | select CPU_SUPPORTS_32BIT_KERNEL | ||
1372 | select DMA_NONCOHERENT | ||
1373 | select IRQ_CPU | ||
1374 | select SWAP_IO_SPACE | ||
1375 | select SYS_SUPPORTS_SMP | ||
1376 | select SYS_SUPPORTS_HOTPLUG_CPU | ||
1377 | select WEAK_ORDERING | ||
1378 | help | ||
1379 | Broadcom BMIPS4380 processors. | ||
1380 | |||
1381 | config CPU_BMIPS5000 | ||
1382 | bool "BMIPS5000" | ||
1383 | depends on SYS_HAS_CPU_BMIPS5000 | ||
1384 | select CPU_SUPPORTS_32BIT_KERNEL | ||
1385 | select CPU_SUPPORTS_HIGHMEM | ||
1386 | select DMA_NONCOHERENT | ||
1387 | select IRQ_CPU | ||
1388 | select SWAP_IO_SPACE | ||
1389 | select SYS_SUPPORTS_SMP | ||
1390 | select SYS_SUPPORTS_HOTPLUG_CPU | ||
1391 | select WEAK_ORDERING | ||
1392 | help | ||
1393 | Broadcom BMIPS5000 processors. | ||
1394 | |||
1344 | endchoice | 1395 | endchoice |
1345 | 1396 | ||
1346 | if CPU_LOONGSON2F | 1397 | if CPU_LOONGSON2F |
@@ -1459,6 +1510,18 @@ config SYS_HAS_CPU_SB1 | |||
1459 | config SYS_HAS_CPU_CAVIUM_OCTEON | 1510 | config SYS_HAS_CPU_CAVIUM_OCTEON |
1460 | bool | 1511 | bool |
1461 | 1512 | ||
1513 | config SYS_HAS_CPU_BMIPS3300 | ||
1514 | bool | ||
1515 | |||
1516 | config SYS_HAS_CPU_BMIPS4350 | ||
1517 | bool | ||
1518 | |||
1519 | config SYS_HAS_CPU_BMIPS4380 | ||
1520 | bool | ||
1521 | |||
1522 | config SYS_HAS_CPU_BMIPS5000 | ||
1523 | bool | ||
1524 | |||
1462 | # | 1525 | # |
1463 | # CPU may reorder R->R, R->W, W->R, W->W | 1526 | # CPU may reorder R->R, R->W, W->R, W->W |
1464 | # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC | 1527 | # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC |