diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2007-12-02 07:00:32 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:14:58 -0500 |
commit | e2defae5a9b4f8d1acb058be212ef89c8763dc5b (patch) | |
tree | 3a0e72b5df8ee181e6c30fb6d1cba636c460a9fd /arch/mips/Kconfig | |
parent | 81149be11327cbad006f82318f46e0b68a7b14ad (diff) |
[MIPS] IP28 support
Add support for SGI IP28 machines (Indigo 2 with R10k CPUs)
This work is mainly based on Peter Fuersts work.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 67 |
1 files changed, 64 insertions, 3 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 00d6940d4ed7..01740ef77824 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -127,6 +127,7 @@ config MACH_JAZZ | |||
127 | select ARCH_MAY_HAVE_PC_FDC | 127 | select ARCH_MAY_HAVE_PC_FDC |
128 | select CEVT_R4K | 128 | select CEVT_R4K |
129 | select CSRC_R4K | 129 | select CSRC_R4K |
130 | select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN | ||
130 | select GENERIC_ISA_DMA | 131 | select GENERIC_ISA_DMA |
131 | select IRQ_CPU | 132 | select IRQ_CPU |
132 | select I8253 | 133 | select I8253 |
@@ -401,6 +402,7 @@ config SGI_IP22 | |||
401 | select BOOT_ELF32 | 402 | select BOOT_ELF32 |
402 | select CEVT_R4K | 403 | select CEVT_R4K |
403 | select CSRC_R4K | 404 | select CSRC_R4K |
405 | select DEFAULT_SGI_PARTITION | ||
404 | select DMA_NONCOHERENT | 406 | select DMA_NONCOHERENT |
405 | select HW_HAS_EISA | 407 | select HW_HAS_EISA |
406 | select I8253 | 408 | select I8253 |
@@ -408,6 +410,12 @@ config SGI_IP22 | |||
408 | select IP22_CPU_SCACHE | 410 | select IP22_CPU_SCACHE |
409 | select IRQ_CPU | 411 | select IRQ_CPU |
410 | select GENERIC_ISA_DMA_SUPPORT_BROKEN | 412 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
413 | select SGI_HAS_DS1286 | ||
414 | select SGI_HAS_I8042 | ||
415 | select SGI_HAS_INDYDOG | ||
416 | select SGI_HAS_SEEQ | ||
417 | select SGI_HAS_WD93 | ||
418 | select SGI_HAS_ZILOG | ||
411 | select SWAP_IO_SPACE | 419 | select SWAP_IO_SPACE |
412 | select SYS_HAS_CPU_R4X00 | 420 | select SYS_HAS_CPU_R4X00 |
413 | select SYS_HAS_CPU_R5000 | 421 | select SYS_HAS_CPU_R5000 |
@@ -425,6 +433,7 @@ config SGI_IP27 | |||
425 | select ARC | 433 | select ARC |
426 | select ARC64 | 434 | select ARC64 |
427 | select BOOT_ELF64 | 435 | select BOOT_ELF64 |
436 | select DEFAULT_SGI_PARTITION | ||
428 | select DMA_IP27 | 437 | select DMA_IP27 |
429 | select SYS_HAS_EARLY_PRINTK | 438 | select SYS_HAS_EARLY_PRINTK |
430 | select HW_HAS_PCI | 439 | select HW_HAS_PCI |
@@ -441,6 +450,36 @@ config SGI_IP27 | |||
441 | workstations. To compile a Linux kernel that runs on these, say Y | 450 | workstations. To compile a Linux kernel that runs on these, say Y |
442 | here. | 451 | here. |
443 | 452 | ||
453 | config SGI_IP28 | ||
454 | bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)" | ||
455 | depends on EXPERIMENTAL | ||
456 | select ARC | ||
457 | select ARC64 | ||
458 | select BOOT_ELF64 | ||
459 | select CEVT_R4K | ||
460 | select CSRC_R4K | ||
461 | select DEFAULT_SGI_PARTITION | ||
462 | select DMA_NONCOHERENT | ||
463 | select GENERIC_ISA_DMA_SUPPORT_BROKEN | ||
464 | select IRQ_CPU | ||
465 | select HW_HAS_EISA | ||
466 | select I8253 | ||
467 | select I8259 | ||
468 | select SGI_HAS_DS1286 | ||
469 | select SGI_HAS_I8042 | ||
470 | select SGI_HAS_INDYDOG | ||
471 | select SGI_HAS_SEEQ | ||
472 | select SGI_HAS_WD93 | ||
473 | select SGI_HAS_ZILOG | ||
474 | select SWAP_IO_SPACE | ||
475 | select SYS_HAS_CPU_R10000 | ||
476 | select SYS_HAS_EARLY_PRINTK | ||
477 | select SYS_SUPPORTS_64BIT_KERNEL | ||
478 | select SYS_SUPPORTS_BIG_ENDIAN | ||
479 | help | ||
480 | This is the SGI Indigo2 with R10000 processor. To compile a Linux | ||
481 | kernel that runs on these, say Y here. | ||
482 | |||
444 | config SGI_IP32 | 483 | config SGI_IP32 |
445 | bool "SGI IP32 (O2)" | 484 | bool "SGI IP32 (O2)" |
446 | select ARC | 485 | select ARC |
@@ -567,6 +606,7 @@ config SNI_RM | |||
567 | select BOOT_ELF32 | 606 | select BOOT_ELF32 |
568 | select CEVT_R4K | 607 | select CEVT_R4K |
569 | select CSRC_R4K | 608 | select CSRC_R4K |
609 | select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN | ||
570 | select DMA_NONCOHERENT | 610 | select DMA_NONCOHERENT |
571 | select GENERIC_ISA_DMA | 611 | select GENERIC_ISA_DMA |
572 | select HW_HAS_EISA | 612 | select HW_HAS_EISA |
@@ -939,6 +979,27 @@ config EMMA2RH | |||
939 | config SERIAL_RM9000 | 979 | config SERIAL_RM9000 |
940 | bool | 980 | bool |
941 | 981 | ||
982 | config SGI_HAS_DS1286 | ||
983 | bool | ||
984 | |||
985 | config SGI_HAS_INDYDOG | ||
986 | bool | ||
987 | |||
988 | config SGI_HAS_SEEQ | ||
989 | bool | ||
990 | |||
991 | config SGI_HAS_WD93 | ||
992 | bool | ||
993 | |||
994 | config SGI_HAS_ZILOG | ||
995 | bool | ||
996 | |||
997 | config SGI_HAS_I8042 | ||
998 | bool | ||
999 | |||
1000 | config DEFAULT_SGI_PARTITION | ||
1001 | bool | ||
1002 | |||
942 | config ARC32 | 1003 | config ARC32 |
943 | bool | 1004 | bool |
944 | 1005 | ||
@@ -948,7 +1009,7 @@ config BOOT_ELF32 | |||
948 | config MIPS_L1_CACHE_SHIFT | 1009 | config MIPS_L1_CACHE_SHIFT |
949 | int | 1010 | int |
950 | default "4" if MACH_DECSTATION | 1011 | default "4" if MACH_DECSTATION |
951 | default "7" if SGI_IP27 || SNI_RM | 1012 | default "7" if SGI_IP27 || SGI_IP28 || SNI_RM |
952 | default "4" if PMC_MSP4200_EVAL | 1013 | default "4" if PMC_MSP4200_EVAL |
953 | default "5" | 1014 | default "5" |
954 | 1015 | ||
@@ -957,7 +1018,7 @@ config HAVE_STD_PC_SERIAL_PORT | |||
957 | 1018 | ||
958 | config ARC_CONSOLE | 1019 | config ARC_CONSOLE |
959 | bool "ARC console support" | 1020 | bool "ARC console support" |
960 | depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN) | 1021 | depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN) |
961 | 1022 | ||
962 | config ARC_MEMORY | 1023 | config ARC_MEMORY |
963 | bool | 1024 | bool |
@@ -966,7 +1027,7 @@ config ARC_MEMORY | |||
966 | 1027 | ||
967 | config ARC_PROMLIB | 1028 | config ARC_PROMLIB |
968 | bool | 1029 | bool |
969 | depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32 | 1030 | depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32 |
970 | default y | 1031 | default y |
971 | 1032 | ||
972 | config ARC64 | 1033 | config ARC64 |