File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -238,20 +238,8 @@ config MIPS_SIM
238238 This option enables support for MIPS Technologies MIPSsim software
239239 emulator.
240240
241- config MARKEINS
242- bool "NEC EMMA2RH Mark-eins"
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.
241+ config MACH_EMMA
242+ bool "NEC EMMA series based machines"
255243
256244config MACH_VR41XX
257245 bool "NEC VR4100 series based machines"
@@ -613,6 +601,7 @@ endchoice
613601
614602source "arch/mips/alchemy/Kconfig"
615603source "arch/mips/basler/excite/Kconfig"
604+ source "arch/mips/emma/Kconfig"
616605source "arch/mips/jazz/Kconfig"
617606source "arch/mips/lasat/Kconfig"
618607source "arch/mips/pmc-sierra/Kconfig"
Original file line number Diff line number Diff line change @@ -409,14 +409,17 @@ load-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000
409409libs-$(CONFIG_PNX8550_STB810) += arch/mips/nxp/pnx8550/stb810/
410410load-$(CONFIG_PNX8550_STB810) += 0xffffffff80060000
411411
412+ #
412413# NEC EMMA2RH boards
413414#
414- core-$(CONFIG_EMMA2RH) += arch/mips/emma2rh/common/
415- cflags-$(CONFIG_EMMA2RH) += -I$(srctree ) /arch/mips/include/asm/mach-emma2rh
415+ core-$(CONFIG_SOC_EMMA2RH) += arch/mips/emma2rh/common/
416+ cflags-$(CONFIG_SOC_EMMA2RH) += -I$(srctree ) /arch/mips/include/asm/mach-emma2rh
416417
418+ #
417419# NEC EMMA2RH Mark-eins
418- core-$(CONFIG_MARKEINS) += arch/mips/emma2rh/markeins/
419- load-$(CONFIG_MARKEINS) += 0xffffffff88100000
420+ #
421+ core-$(CONFIG_NEC_MARKEINS) += arch/mips/emma2rh/markeins/
422+ load-$(CONFIG_NEC_MARKEINS) += 0xffffffff88100000
420423
421424#
422425# SGI IP22 (Indy/Indigo2)
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1010# (at your option) any later version.
1111#
1212
13- obj-$(CONFIG_MARKEINS ) += irq.o irq_emma2rh.o prom.o
13+ obj-$(CONFIG_NEC_MARKEINS ) += irq.o irq_emma2rh.o prom.o
Original file line number Diff line number Diff line change 3333
3434const char * get_system_type (void )
3535{
36- #if defined( CONFIG_MARKEINS )
36+ #ifdef CONFIG_NEC_MARKEINS
3737 return "NEC EMMA2RH Mark-eins" ;
3838#else
3939#error Unknown NEC board
@@ -60,7 +60,7 @@ void __init prom_init(void)
6060 strcat (arcs_cmdline , " " );
6161 }
6262
63- #if defined( CONFIG_MARKEINS )
63+ #ifdef CONFIG_NEC_MARKEINS
6464 add_memory_region (0 , EMMA2RH_RAM_SIZE , BOOT_MEM_RAM );
6565#else
6666#error Unknown NEC board
Original file line number Diff line number Diff line change 1010# (at your option) any later version.
1111#
1212
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
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ static inline u8 emma2rh_in8(u32 offset)
324324/*
325325 * include the board dependent part
326326 */
327- #if defined( CONFIG_MARKEINS )
327+ #ifdef CONFIG_NEC_MARKEINS
328328#include <asm/emma2rh/markeins.h>
329329#else
330330#error "Unknown EMMA2RH board!"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ obj-$(CONFIG_MIPS_MSC) += ops-msc.o
1313obj-$(CONFIG_MIPS_NILE4) += ops-nile4.o
1414obj-$(CONFIG_SOC_TX3927) += ops-tx3927.o
1515obj-$(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
1717obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o
1818obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o
1919
You can’t perform that action at this time.
0 commit comments