diff options
| -rw-r--r-- | arch/mips/Kconfig | 17 | ||||
| -rw-r--r-- | arch/mips/Makefile | 11 | ||||
| -rw-r--r-- | arch/mips/emma/Kconfig | 29 | ||||
| -rw-r--r-- | arch/mips/emma2rh/common/Makefile | 2 | ||||
| -rw-r--r-- | arch/mips/emma2rh/common/prom.c | 4 | ||||
| -rw-r--r-- | arch/mips/emma2rh/markeins/Makefile | 2 | ||||
| -rw-r--r-- | arch/mips/include/asm/emma2rh/emma2rh.h | 2 | ||||
| -rw-r--r-- | arch/mips/pci/Makefile | 2 |
8 files changed, 45 insertions, 24 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 16fc6155285a..653574bc19cf 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
| @@ -238,20 +238,8 @@ config MIPS_SIM | |||
| 238 | This option enables support for MIPS Technologies MIPSsim software | 238 | This option enables support for MIPS Technologies MIPSsim software |
| 239 | emulator. | 239 | emulator. |
| 240 | 240 | ||
| 241 | config MARKEINS | 241 | config MACH_EMMA |
| 242 | bool "NEC EMMA2RH Mark-eins" | 242 | bool "NEC EMMA series based machines" |
| 243 | select CEVT_R4K | ||
| 244 | select CSRC_R4K | ||
| 245 | select DMA_NONCOHERENT | ||
| 246 | select HW_HAS_PCI | ||
| 247 | select IRQ_CPU | ||
| 248 | select SWAP_IO_SPACE | ||
| 249 | select SYS_SUPPORTS_32BIT_KERNEL | ||
| 250 | select SYS_SUPPORTS_BIG_ENDIAN | ||
| 251 | select SYS_SUPPORTS_LITTLE_ENDIAN | ||
| 252 | select SYS_HAS_CPU_R5500 | ||
| 253 | help | ||
| 254 | This enables support for the NEC Mark-eins board with VR5500 CPU. | ||
| 255 | 243 | ||
| 256 | config MACH_VR41XX | 244 | config MACH_VR41XX |
| 257 | bool "NEC VR4100 series based machines" | 245 | bool "NEC VR4100 series based machines" |
| @@ -613,6 +601,7 @@ endchoice | |||
| 613 | 601 | ||
| 614 | source "arch/mips/alchemy/Kconfig" | 602 | source "arch/mips/alchemy/Kconfig" |
| 615 | source "arch/mips/basler/excite/Kconfig" | 603 | source "arch/mips/basler/excite/Kconfig" |
| 604 | source "arch/mips/emma/Kconfig" | ||
| 616 | source "arch/mips/jazz/Kconfig" | 605 | source "arch/mips/jazz/Kconfig" |
| 617 | source "arch/mips/lasat/Kconfig" | 606 | source "arch/mips/lasat/Kconfig" |
| 618 | source "arch/mips/pmc-sierra/Kconfig" | 607 | source "arch/mips/pmc-sierra/Kconfig" |
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index a21b12ce903d..041c4f2e088a 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
| @@ -409,14 +409,17 @@ load-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000 | |||
| 409 | libs-$(CONFIG_PNX8550_STB810) += arch/mips/nxp/pnx8550/stb810/ | 409 | libs-$(CONFIG_PNX8550_STB810) += arch/mips/nxp/pnx8550/stb810/ |
| 410 | load-$(CONFIG_PNX8550_STB810) += 0xffffffff80060000 | 410 | load-$(CONFIG_PNX8550_STB810) += 0xffffffff80060000 |
| 411 | 411 | ||
| 412 | # | ||
| 412 | # NEC EMMA2RH boards | 413 | # NEC EMMA2RH boards |
| 413 | # | 414 | # |
| 414 | core-$(CONFIG_EMMA2RH) += arch/mips/emma2rh/common/ | 415 | core-$(CONFIG_SOC_EMMA2RH) += arch/mips/emma2rh/common/ |
| 415 | cflags-$(CONFIG_EMMA2RH) += -I$(srctree)/arch/mips/include/asm/mach-emma2rh | 416 | cflags-$(CONFIG_SOC_EMMA2RH) += -I$(srctree)/arch/mips/include/asm/mach-emma2rh |
| 416 | 417 | ||
| 418 | # | ||
| 417 | # NEC EMMA2RH Mark-eins | 419 | # NEC EMMA2RH Mark-eins |
| 418 | core-$(CONFIG_MARKEINS) += arch/mips/emma2rh/markeins/ | 420 | # |
| 419 | load-$(CONFIG_MARKEINS) += 0xffffffff88100000 | 421 | core-$(CONFIG_NEC_MARKEINS) += arch/mips/emma2rh/markeins/ |
| 422 | load-$(CONFIG_NEC_MARKEINS) += 0xffffffff88100000 | ||
| 420 | 423 | ||
| 421 | # | 424 | # |
| 422 | # SGI IP22 (Indy/Indigo2) | 425 | # SGI IP22 (Indy/Indigo2) |
diff --git a/arch/mips/emma/Kconfig b/arch/mips/emma/Kconfig new file mode 100644 index 000000000000..9669c72123c9 --- /dev/null +++ b/arch/mips/emma/Kconfig | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | choice | ||
| 2 | prompt "Machine type" | ||
| 3 | depends on MACH_EMMA | ||
| 4 | default NEC_MARKEINS | ||
| 5 | |||
| 6 | config NEC_MARKEINS | ||
| 7 | bool "NEC EMMA2RH Mark-eins board" | ||
| 8 | select SOC_EMMA2RH | ||
| 9 | select HW_HAS_PCI | ||
| 10 | help | ||
| 11 | This enables support for the NEC Electronics Mark-eins boards. | ||
| 12 | |||
| 13 | endchoice | ||
| 14 | |||
| 15 | config SOC_EMMA2RH | ||
| 16 | bool | ||
| 17 | select SOC_EMMA | ||
| 18 | select SYS_HAS_CPU_R5500 | ||
| 19 | select SYS_SUPPORTS_32BIT_KERNEL | ||
| 20 | select SYS_SUPPORTS_64BIT_KERNEL | ||
| 21 | |||
| 22 | config SOC_EMMA | ||
| 23 | bool | ||
| 24 | select CEVT_R4K | ||
| 25 | select CSRC_R4K | ||
| 26 | select DMA_NONCOHERENT | ||
| 27 | select IRQ_CPU | ||
| 28 | select SWAP_IO_SPACE | ||
| 29 | select SYS_SUPPORTS_BIG_ENDIAN | ||
diff --git a/arch/mips/emma2rh/common/Makefile b/arch/mips/emma2rh/common/Makefile index 859121b3867d..cb0fd328c61f 100644 --- a/arch/mips/emma2rh/common/Makefile +++ b/arch/mips/emma2rh/common/Makefile | |||
| @@ -10,4 +10,4 @@ | |||
| 10 | # (at your option) any later version. | 10 | # (at your option) any later version. |
| 11 | # | 11 | # |
| 12 | 12 | ||
| 13 | obj-$(CONFIG_MARKEINS) += irq.o irq_emma2rh.o prom.o | 13 | obj-$(CONFIG_NEC_MARKEINS) += irq.o irq_emma2rh.o prom.o |
diff --git a/arch/mips/emma2rh/common/prom.c b/arch/mips/emma2rh/common/prom.c index e14a2e3d8842..97bf29e755a0 100644 --- a/arch/mips/emma2rh/common/prom.c +++ b/arch/mips/emma2rh/common/prom.c | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | 33 | ||
| 34 | const char *get_system_type(void) | 34 | const char *get_system_type(void) |
| 35 | { | 35 | { |
| 36 | #if defined(CONFIG_MARKEINS) | 36 | #ifdef CONFIG_NEC_MARKEINS |
| 37 | return "NEC EMMA2RH Mark-eins"; | 37 | return "NEC EMMA2RH Mark-eins"; |
| 38 | #else | 38 | #else |
| 39 | #error Unknown NEC board | 39 | #error Unknown NEC board |
| @@ -60,7 +60,7 @@ void __init prom_init(void) | |||
| 60 | strcat(arcs_cmdline, " "); | 60 | strcat(arcs_cmdline, " "); |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | #if defined(CONFIG_MARKEINS) | 63 | #ifdef CONFIG_NEC_MARKEINS |
| 64 | add_memory_region(0, EMMA2RH_RAM_SIZE, BOOT_MEM_RAM); | 64 | add_memory_region(0, EMMA2RH_RAM_SIZE, BOOT_MEM_RAM); |
| 65 | #else | 65 | #else |
| 66 | #error Unknown NEC board | 66 | #error Unknown NEC board |
diff --git a/arch/mips/emma2rh/markeins/Makefile b/arch/mips/emma2rh/markeins/Makefile index 14fc268b175c..3c8b864f7bc5 100644 --- a/arch/mips/emma2rh/markeins/Makefile +++ b/arch/mips/emma2rh/markeins/Makefile | |||
| @@ -10,4 +10,4 @@ | |||
| 10 | # (at your option) any later version. | 10 | # (at your option) any later version. |
| 11 | # | 11 | # |
| 12 | 12 | ||
| 13 | obj-$(CONFIG_MARKEINS) += irq.o irq_markeins.o setup.o led.o platform.o | 13 | obj-$(CONFIG_NEC_MARKEINS) += irq.o irq_markeins.o setup.o led.o platform.o |
diff --git a/arch/mips/include/asm/emma2rh/emma2rh.h b/arch/mips/include/asm/emma2rh/emma2rh.h index 6a1af0af51e3..5d79669b3b73 100644 --- a/arch/mips/include/asm/emma2rh/emma2rh.h +++ b/arch/mips/include/asm/emma2rh/emma2rh.h | |||
| @@ -324,7 +324,7 @@ static inline u8 emma2rh_in8(u32 offset) | |||
| 324 | /* | 324 | /* |
| 325 | * include the board dependent part | 325 | * include the board dependent part |
| 326 | */ | 326 | */ |
| 327 | #if defined(CONFIG_MARKEINS) | 327 | #ifdef CONFIG_NEC_MARKEINS |
| 328 | #include <asm/emma2rh/markeins.h> | 328 | #include <asm/emma2rh/markeins.h> |
| 329 | #else | 329 | #else |
| 330 | #error "Unknown EMMA2RH board!" | 330 | #error "Unknown EMMA2RH board!" |
diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile index b1886244cedf..e8a97f59e066 100644 --- a/arch/mips/pci/Makefile +++ b/arch/mips/pci/Makefile | |||
| @@ -13,7 +13,7 @@ obj-$(CONFIG_MIPS_MSC) += ops-msc.o | |||
| 13 | obj-$(CONFIG_MIPS_NILE4) += ops-nile4.o | 13 | obj-$(CONFIG_MIPS_NILE4) += ops-nile4.o |
| 14 | obj-$(CONFIG_SOC_TX3927) += ops-tx3927.o | 14 | obj-$(CONFIG_SOC_TX3927) += ops-tx3927.o |
| 15 | obj-$(CONFIG_PCI_VR41XX) += ops-vr41xx.o pci-vr41xx.o | 15 | obj-$(CONFIG_PCI_VR41XX) += ops-vr41xx.o pci-vr41xx.o |
| 16 | obj-$(CONFIG_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o | 16 | obj-$(CONFIG_NEC_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o |
| 17 | obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o | 17 | obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o |
| 18 | obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o | 18 | obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o |
| 19 | 19 | ||
