diff options
author | Daniel Laird <daniel.j.laird@nxp.com> | 2008-03-06 04:07:18 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 12:14:26 -0400 |
commit | a92b05880d261e9017ef8e7d5b6b01e0e5aa991d (patch) | |
tree | 663109c57e75dd2183507818a035c99ab53fff25 /arch/mips | |
parent | 389310e2b0c195f176e7d4be788bc245e9102412 (diff) |
[MIPS] Move arch/mips/philips to arch/mips/nxp
Signed-off-by: daniel.j.laird <daniel.j.laird@nxp.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kconfig | 4 | ||||
-rw-r--r-- | arch/mips/Makefile | 12 | ||||
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 8 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/Makefile (renamed from arch/mips/philips/pnx8550/common/Makefile) | 0 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/gdb_hook.c (renamed from arch/mips/philips/pnx8550/common/gdb_hook.c) | 0 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/int.c (renamed from arch/mips/philips/pnx8550/common/int.c) | 0 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/pci.c (renamed from arch/mips/philips/pnx8550/common/pci.c) | 0 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/platform.c (renamed from arch/mips/philips/pnx8550/common/platform.c) | 2 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/proc.c (renamed from arch/mips/philips/pnx8550/common/proc.c) | 0 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/prom.c (renamed from arch/mips/philips/pnx8550/common/prom.c) | 0 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/reset.c (renamed from arch/mips/philips/pnx8550/common/reset.c) | 0 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/setup.c (renamed from arch/mips/philips/pnx8550/common/setup.c) | 0 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/common/time.c (renamed from arch/mips/philips/pnx8550/common/time.c) | 0 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/jbs/Makefile (renamed from arch/mips/philips/pnx8550/jbs/Makefile) | 2 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/jbs/board_setup.c (renamed from arch/mips/philips/pnx8550/jbs/board_setup.c) | 4 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/jbs/init.c (renamed from arch/mips/philips/pnx8550/jbs/init.c) | 2 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/jbs/irqmap.c (renamed from arch/mips/philips/pnx8550/jbs/irqmap.c) | 3 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/stb810/Makefile (renamed from arch/mips/philips/pnx8550/stb810/Makefile) | 2 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/stb810/board_setup.c (renamed from arch/mips/philips/pnx8550/stb810/board_setup.c) | 6 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/stb810/irqmap.c (renamed from arch/mips/philips/pnx8550/stb810/irqmap.c) | 3 | ||||
-rw-r--r-- | arch/mips/nxp/pnx8550/stb810/prom_init.c (renamed from arch/mips/philips/pnx8550/stb810/prom_init.c) | 2 |
21 files changed, 24 insertions, 26 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 89b03775a195..9e1fc966895c 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -310,12 +310,12 @@ config MACH_VR41XX | |||
310 | select GENERIC_HARDIRQS_NO__DO_IRQ | 310 | select GENERIC_HARDIRQS_NO__DO_IRQ |
311 | 311 | ||
312 | config PNX8550_JBS | 312 | config PNX8550_JBS |
313 | bool "Philips PNX8550 based JBS board" | 313 | bool "NXP PNX8550 based JBS board" |
314 | select PNX8550 | 314 | select PNX8550 |
315 | select SYS_SUPPORTS_LITTLE_ENDIAN | 315 | select SYS_SUPPORTS_LITTLE_ENDIAN |
316 | 316 | ||
317 | config PNX8550_STB810 | 317 | config PNX8550_STB810 |
318 | bool "Philips PNX8550 based STB810 board" | 318 | bool "NXP PNX8550 based STB810 board" |
319 | select PNX8550 | 319 | select PNX8550 |
320 | select SYS_SUPPORTS_LITTLE_ENDIAN | 320 | select SYS_SUPPORTS_LITTLE_ENDIAN |
321 | 321 | ||
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 1c62381f5c23..69648d01acc0 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -410,21 +410,21 @@ load-$(CONFIG_CASIO_E55) += 0xffffffff80004000 | |||
410 | load-$(CONFIG_TANBAC_TB022X) += 0xffffffff80000000 | 410 | load-$(CONFIG_TANBAC_TB022X) += 0xffffffff80000000 |
411 | 411 | ||
412 | # | 412 | # |
413 | # Common Philips PNX8550 | 413 | # Common NXP PNX8550 |
414 | # | 414 | # |
415 | core-$(CONFIG_SOC_PNX8550) += arch/mips/philips/pnx8550/common/ | 415 | core-$(CONFIG_SOC_PNX8550) += arch/mips/nxp/pnx8550/common/ |
416 | cflags-$(CONFIG_SOC_PNX8550) += -Iinclude/asm-mips/mach-pnx8550 | 416 | cflags-$(CONFIG_SOC_PNX8550) += -Iinclude/asm-mips/mach-pnx8550 |
417 | 417 | ||
418 | # | 418 | # |
419 | # Philips PNX8550 JBS board | 419 | # NXP PNX8550 JBS board |
420 | # | 420 | # |
421 | libs-$(CONFIG_PNX8550_JBS) += arch/mips/philips/pnx8550/jbs/ | 421 | libs-$(CONFIG_PNX8550_JBS) += arch/mips/nxp/pnx8550/jbs/ |
422 | #cflags-$(CONFIG_PNX8550_JBS) += -Iinclude/asm-mips/mach-pnx8550 | 422 | #cflags-$(CONFIG_PNX8550_JBS) += -Iinclude/asm-mips/mach-pnx8550 |
423 | load-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000 | 423 | load-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000 |
424 | 424 | ||
425 | # Philips PNX8550 STB810 board | 425 | # NXP PNX8550 STB810 board |
426 | # | 426 | # |
427 | libs-$(CONFIG_PNX8550_STB810) += arch/mips/philips/pnx8550/stb810/ | 427 | libs-$(CONFIG_PNX8550_STB810) += arch/mips/nxp/pnx8550/stb810/ |
428 | load-$(CONFIG_PNX8550_STB810) += 0xffffffff80060000 | 428 | load-$(CONFIG_PNX8550_STB810) += 0xffffffff80060000 |
429 | 429 | ||
430 | # NEC EMMA2RH boards | 430 | # NEC EMMA2RH boards |
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index a742a967169a..335a6ae3d594 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -790,7 +790,7 @@ static inline void cpu_probe_sandcraft(struct cpuinfo_mips *c) | |||
790 | } | 790 | } |
791 | } | 791 | } |
792 | 792 | ||
793 | static inline void cpu_probe_philips(struct cpuinfo_mips *c) | 793 | static inline void cpu_probe_nxp(struct cpuinfo_mips *c) |
794 | { | 794 | { |
795 | decode_configs(c); | 795 | decode_configs(c); |
796 | switch (c->processor_id & 0xff00) { | 796 | switch (c->processor_id & 0xff00) { |
@@ -799,7 +799,7 @@ static inline void cpu_probe_philips(struct cpuinfo_mips *c) | |||
799 | c->isa_level = MIPS_CPU_ISA_M32R1; | 799 | c->isa_level = MIPS_CPU_ISA_M32R1; |
800 | break; | 800 | break; |
801 | default: | 801 | default: |
802 | panic("Unknown Philips Core!"); /* REVISIT: die? */ | 802 | panic("Unknown NXP Core!"); /* REVISIT: die? */ |
803 | break; | 803 | break; |
804 | } | 804 | } |
805 | } | 805 | } |
@@ -938,8 +938,8 @@ __cpuinit void cpu_probe(void) | |||
938 | case PRID_COMP_SANDCRAFT: | 938 | case PRID_COMP_SANDCRAFT: |
939 | cpu_probe_sandcraft(c); | 939 | cpu_probe_sandcraft(c); |
940 | break; | 940 | break; |
941 | case PRID_COMP_PHILIPS: | 941 | case PRID_COMP_NXP: |
942 | cpu_probe_philips(c); | 942 | cpu_probe_nxp(c); |
943 | break; | 943 | break; |
944 | default: | 944 | default: |
945 | c->cputype = CPU_UNKNOWN; | 945 | c->cputype = CPU_UNKNOWN; |
diff --git a/arch/mips/philips/pnx8550/common/Makefile b/arch/mips/nxp/pnx8550/common/Makefile index 31cc1a5cec3b..31cc1a5cec3b 100644 --- a/arch/mips/philips/pnx8550/common/Makefile +++ b/arch/mips/nxp/pnx8550/common/Makefile | |||
diff --git a/arch/mips/philips/pnx8550/common/gdb_hook.c b/arch/mips/nxp/pnx8550/common/gdb_hook.c index ad4624f6d9bc..ad4624f6d9bc 100644 --- a/arch/mips/philips/pnx8550/common/gdb_hook.c +++ b/arch/mips/nxp/pnx8550/common/gdb_hook.c | |||
diff --git a/arch/mips/philips/pnx8550/common/int.c b/arch/mips/nxp/pnx8550/common/int.c index aad03429a5e3..aad03429a5e3 100644 --- a/arch/mips/philips/pnx8550/common/int.c +++ b/arch/mips/nxp/pnx8550/common/int.c | |||
diff --git a/arch/mips/philips/pnx8550/common/pci.c b/arch/mips/nxp/pnx8550/common/pci.c index eee4f3dfc410..eee4f3dfc410 100644 --- a/arch/mips/philips/pnx8550/common/pci.c +++ b/arch/mips/nxp/pnx8550/common/pci.c | |||
diff --git a/arch/mips/philips/pnx8550/common/platform.c b/arch/mips/nxp/pnx8550/common/platform.c index c839436bd012..c7c763dbe588 100644 --- a/arch/mips/philips/pnx8550/common/platform.c +++ b/arch/mips/nxp/pnx8550/common/platform.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Platform device support for Philips PNX8550 SoCs | 2 | * Platform device support for NXP PNX8550 SoCs |
3 | * | 3 | * |
4 | * Copyright 2005, Embedded Alley Solutions, Inc | 4 | * Copyright 2005, Embedded Alley Solutions, Inc |
5 | * | 5 | * |
diff --git a/arch/mips/philips/pnx8550/common/proc.c b/arch/mips/nxp/pnx8550/common/proc.c index 18b125e3b65d..18b125e3b65d 100644 --- a/arch/mips/philips/pnx8550/common/proc.c +++ b/arch/mips/nxp/pnx8550/common/proc.c | |||
diff --git a/arch/mips/philips/pnx8550/common/prom.c b/arch/mips/nxp/pnx8550/common/prom.c index 2f567452e7ac..2f567452e7ac 100644 --- a/arch/mips/philips/pnx8550/common/prom.c +++ b/arch/mips/nxp/pnx8550/common/prom.c | |||
diff --git a/arch/mips/philips/pnx8550/common/reset.c b/arch/mips/nxp/pnx8550/common/reset.c index 7b2cbc5b2c7c..7b2cbc5b2c7c 100644 --- a/arch/mips/philips/pnx8550/common/reset.c +++ b/arch/mips/nxp/pnx8550/common/reset.c | |||
diff --git a/arch/mips/philips/pnx8550/common/setup.c b/arch/mips/nxp/pnx8550/common/setup.c index 92d764c97701..92d764c97701 100644 --- a/arch/mips/philips/pnx8550/common/setup.c +++ b/arch/mips/nxp/pnx8550/common/setup.c | |||
diff --git a/arch/mips/philips/pnx8550/common/time.c b/arch/mips/nxp/pnx8550/common/time.c index 62f495b57f93..62f495b57f93 100644 --- a/arch/mips/philips/pnx8550/common/time.c +++ b/arch/mips/nxp/pnx8550/common/time.c | |||
diff --git a/arch/mips/philips/pnx8550/jbs/Makefile b/arch/mips/nxp/pnx8550/jbs/Makefile index e8228dbca8f6..ad6a8ca7d8ce 100644 --- a/arch/mips/philips/pnx8550/jbs/Makefile +++ b/arch/mips/nxp/pnx8550/jbs/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | 1 | ||
2 | # Makefile for the Philips JBS Board. | 2 | # Makefile for the NXP JBS Board. |
3 | 3 | ||
4 | lib-y := init.o board_setup.o irqmap.o | 4 | lib-y := init.o board_setup.o irqmap.o |
diff --git a/arch/mips/philips/pnx8550/jbs/board_setup.c b/arch/mips/nxp/pnx8550/jbs/board_setup.c index e550a3e12f65..f92826e0096d 100644 --- a/arch/mips/philips/pnx8550/jbs/board_setup.c +++ b/arch/mips/nxp/pnx8550/jbs/board_setup.c | |||
@@ -53,8 +53,8 @@ void __init board_setup(void) | |||
53 | 53 | ||
54 | /* clear all three cache coherency fields */ | 54 | /* clear all three cache coherency fields */ |
55 | config0 &= ~(0x7 | (7<<25) | (7<<28)); | 55 | config0 &= ~(0x7 | (7<<25) | (7<<28)); |
56 | config0 |= (_page_cachable_default >> _CACHE_SHIFT) | | 56 | config0 |= (CONF_CM_DEFAULT | (CONF_CM_DEFAULT<<25) | |
57 | (CONF_CM_DEFAULT << 25) | (CONF_CM_DEFAULT << 28); | 57 | (CONF_CM_DEFAULT<<28)); |
58 | write_c0_config(config0); | 58 | write_c0_config(config0); |
59 | BARRIER; | 59 | BARRIER; |
60 | 60 | ||
diff --git a/arch/mips/philips/pnx8550/jbs/init.c b/arch/mips/nxp/pnx8550/jbs/init.c index 90b4d35f3ece..d59b4a4e5e8b 100644 --- a/arch/mips/philips/pnx8550/jbs/init.c +++ b/arch/mips/nxp/pnx8550/jbs/init.c | |||
@@ -40,7 +40,7 @@ extern char *prom_getenv(char *envname); | |||
40 | 40 | ||
41 | const char *get_system_type(void) | 41 | const char *get_system_type(void) |
42 | { | 42 | { |
43 | return "Philips PNX8550/JBS"; | 43 | return "NXP PNX8550/JBS"; |
44 | } | 44 | } |
45 | 45 | ||
46 | void __init prom_init(void) | 46 | void __init prom_init(void) |
diff --git a/arch/mips/philips/pnx8550/jbs/irqmap.c b/arch/mips/nxp/pnx8550/jbs/irqmap.c index 98c3429e6e50..7fc89842002c 100644 --- a/arch/mips/philips/pnx8550/jbs/irqmap.c +++ b/arch/mips/nxp/pnx8550/jbs/irqmap.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Philips JBS board irqmap. | 2 | * NXP JBS board irqmap. |
3 | * | 3 | * |
4 | * Copyright 2005 Embedded Alley Solutions, Inc | 4 | * Copyright 2005 Embedded Alley Solutions, Inc |
5 | * source@embeddealley.com | 5 | * source@embeddealley.com |
@@ -33,4 +33,3 @@ char pnx8550_irq_tab[][5] __initdata = { | |||
33 | [9] = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff}, | 33 | [9] = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff}, |
34 | [17] = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff}, | 34 | [17] = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff}, |
35 | }; | 35 | }; |
36 | |||
diff --git a/arch/mips/philips/pnx8550/stb810/Makefile b/arch/mips/nxp/pnx8550/stb810/Makefile index f14b592af398..ab91d72c5664 100644 --- a/arch/mips/philips/pnx8550/stb810/Makefile +++ b/arch/mips/nxp/pnx8550/stb810/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | 1 | ||
2 | # Makefile for the Philips STB810 Board. | 2 | # Makefile for the NXP STB810 Board. |
3 | 3 | ||
4 | lib-y := prom_init.o board_setup.o irqmap.o | 4 | lib-y := prom_init.o board_setup.o irqmap.o |
diff --git a/arch/mips/philips/pnx8550/stb810/board_setup.c b/arch/mips/nxp/pnx8550/stb810/board_setup.c index d461d7a62365..1282c27cfcb7 100644 --- a/arch/mips/philips/pnx8550/stb810/board_setup.c +++ b/arch/mips/nxp/pnx8550/stb810/board_setup.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * STB810 specific board startup routines. | 2 | * STB810 specific board startup routines. |
3 | * | 3 | * |
4 | * Based on the arch/mips/philips/pnx8550/jbs/board_setup.c | 4 | * Based on the arch/mips/nxp/pnx8550/jbs/board_setup.c |
5 | * | 5 | * |
6 | * Author: MontaVista Software, Inc. | 6 | * Author: MontaVista Software, Inc. |
7 | * source@mvista.com | 7 | * source@mvista.com |
@@ -39,8 +39,8 @@ void __init board_setup(void) | |||
39 | 39 | ||
40 | /* clear all three cache coherency fields */ | 40 | /* clear all three cache coherency fields */ |
41 | config0 &= ~(0x7 | (7<<25) | (7<<28)); | 41 | config0 &= ~(0x7 | (7<<25) | (7<<28)); |
42 | config0 |= (_page_cachable_default >> _CACHE_SHIFT) | | 42 | config0 |= (CONF_CM_DEFAULT | (CONF_CM_DEFAULT<<25) | |
43 | (CONF_CM_DEFAULT << 25) | (CONF_CM_DEFAULT << 28); | 43 | (CONF_CM_DEFAULT<<28)); |
44 | write_c0_config(config0); | 44 | write_c0_config(config0); |
45 | 45 | ||
46 | configpr = read_c0_config7(); | 46 | configpr = read_c0_config7(); |
diff --git a/arch/mips/philips/pnx8550/stb810/irqmap.c b/arch/mips/nxp/pnx8550/stb810/irqmap.c index 5ee11e19975e..8c034963ddcd 100644 --- a/arch/mips/philips/pnx8550/stb810/irqmap.c +++ b/arch/mips/nxp/pnx8550/stb810/irqmap.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Philips STB810 board irqmap. | 2 | * NXP STB810 board irqmap. |
3 | * | 3 | * |
4 | * Author: MontaVista Software, Inc. | 4 | * Author: MontaVista Software, Inc. |
5 | * source@mvista.com | 5 | * source@mvista.com |
@@ -20,4 +20,3 @@ char pnx8550_irq_tab[][5] __initdata = { | |||
20 | [9] = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff}, | 20 | [9] = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff}, |
21 | [10] = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff}, | 21 | [10] = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff}, |
22 | }; | 22 | }; |
23 | |||
diff --git a/arch/mips/philips/pnx8550/stb810/prom_init.c b/arch/mips/nxp/pnx8550/stb810/prom_init.c index 832dd60b0a7a..ca7f4ada0640 100644 --- a/arch/mips/philips/pnx8550/stb810/prom_init.c +++ b/arch/mips/nxp/pnx8550/stb810/prom_init.c | |||
@@ -28,7 +28,7 @@ extern char *prom_getenv(char *envname); | |||
28 | 28 | ||
29 | const char *get_system_type(void) | 29 | const char *get_system_type(void) |
30 | { | 30 | { |
31 | return "Philips PNX8550/STB810"; | 31 | return "NXP PNX8950/STB810"; |
32 | } | 32 | } |
33 | 33 | ||
34 | void __init prom_init(void) | 34 | void __init prom_init(void) |