]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Move arch/mips/philips to arch/mips/nxp
authorDaniel Laird <daniel.j.laird@nxp.com>
Thu, 6 Mar 2008 09:07:18 +0000 (09:07 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:26 +0000 (17:14 +0100)
Signed-off-by: daniel.j.laird <daniel.j.laird@nxp.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
22 files changed:
arch/mips/Kconfig
arch/mips/Makefile
arch/mips/kernel/cpu-probe.c
arch/mips/nxp/pnx8550/common/Makefile [moved from arch/mips/philips/pnx8550/common/Makefile with 100% similarity]
arch/mips/nxp/pnx8550/common/gdb_hook.c [moved from arch/mips/philips/pnx8550/common/gdb_hook.c with 100% similarity]
arch/mips/nxp/pnx8550/common/int.c [moved from arch/mips/philips/pnx8550/common/int.c with 100% similarity]
arch/mips/nxp/pnx8550/common/pci.c [moved from arch/mips/philips/pnx8550/common/pci.c with 100% similarity]
arch/mips/nxp/pnx8550/common/platform.c [moved from arch/mips/philips/pnx8550/common/platform.c with 98% similarity]
arch/mips/nxp/pnx8550/common/proc.c [moved from arch/mips/philips/pnx8550/common/proc.c with 100% similarity]
arch/mips/nxp/pnx8550/common/prom.c [moved from arch/mips/philips/pnx8550/common/prom.c with 100% similarity]
arch/mips/nxp/pnx8550/common/reset.c [moved from arch/mips/philips/pnx8550/common/reset.c with 100% similarity]
arch/mips/nxp/pnx8550/common/setup.c [moved from arch/mips/philips/pnx8550/common/setup.c with 100% similarity]
arch/mips/nxp/pnx8550/common/time.c [moved from arch/mips/philips/pnx8550/common/time.c with 100% similarity]
arch/mips/nxp/pnx8550/jbs/Makefile [moved from arch/mips/philips/pnx8550/jbs/Makefile with 51% similarity]
arch/mips/nxp/pnx8550/jbs/board_setup.c [moved from arch/mips/philips/pnx8550/jbs/board_setup.c with 95% similarity]
arch/mips/nxp/pnx8550/jbs/init.c [moved from arch/mips/philips/pnx8550/jbs/init.c with 98% similarity]
arch/mips/nxp/pnx8550/jbs/irqmap.c [moved from arch/mips/philips/pnx8550/jbs/irqmap.c with 98% similarity]
arch/mips/nxp/pnx8550/stb810/Makefile [moved from arch/mips/philips/pnx8550/stb810/Makefile with 52% similarity]
arch/mips/nxp/pnx8550/stb810/board_setup.c [moved from arch/mips/philips/pnx8550/stb810/board_setup.c with 86% similarity]
arch/mips/nxp/pnx8550/stb810/irqmap.c [moved from arch/mips/philips/pnx8550/stb810/irqmap.c with 94% similarity]
arch/mips/nxp/pnx8550/stb810/prom_init.c [moved from arch/mips/philips/pnx8550/stb810/prom_init.c with 96% similarity]
include/asm-mips/cpu.h

index 89b03775a19584206daf63e0331aab63213c8753..9e1fc966895cef9775b4ccf00d25be02c80a3838 100644 (file)
@@ -310,12 +310,12 @@ config MACH_VR41XX
        select GENERIC_HARDIRQS_NO__DO_IRQ
 
 config PNX8550_JBS
-       bool "Philips PNX8550 based JBS board"
+       bool "NXP PNX8550 based JBS board"
        select PNX8550
        select SYS_SUPPORTS_LITTLE_ENDIAN
 
 config PNX8550_STB810
-       bool "Philips PNX8550 based STB810 board"
+       bool "NXP PNX8550 based STB810 board"
        select PNX8550
        select SYS_SUPPORTS_LITTLE_ENDIAN
 
index 1c62381f5c230c6b42bcb7ef95ff6148df553a4e..69648d01acc0a49e195259efbf039417793b9c36 100644 (file)
@@ -410,21 +410,21 @@ load-$(CONFIG_CASIO_E55)  += 0xffffffff80004000
 load-$(CONFIG_TANBAC_TB022X)   += 0xffffffff80000000
 
 #
-# Common Philips PNX8550
+# Common NXP PNX8550
 #
-core-$(CONFIG_SOC_PNX8550)     += arch/mips/philips/pnx8550/common/
+core-$(CONFIG_SOC_PNX8550)     += arch/mips/nxp/pnx8550/common/
 cflags-$(CONFIG_SOC_PNX8550)   += -Iinclude/asm-mips/mach-pnx8550
 
 #
-# Philips PNX8550 JBS board
+# NXP PNX8550 JBS board
 #
-libs-$(CONFIG_PNX8550_JBS)     += arch/mips/philips/pnx8550/jbs/
+libs-$(CONFIG_PNX8550_JBS)     += arch/mips/nxp/pnx8550/jbs/
 #cflags-$(CONFIG_PNX8550_JBS)  += -Iinclude/asm-mips/mach-pnx8550
 load-$(CONFIG_PNX8550_JBS)     += 0xffffffff80060000
 
-# Philips PNX8550 STB810 board
+# NXP PNX8550 STB810 board
 #
-libs-$(CONFIG_PNX8550_STB810)  += arch/mips/philips/pnx8550/stb810/
+libs-$(CONFIG_PNX8550_STB810)  += arch/mips/nxp/pnx8550/stb810/
 load-$(CONFIG_PNX8550_STB810)  += 0xffffffff80060000
 
 # NEC EMMA2RH boards
index a742a967169a962374343c64ac9260ccc368e4fd..335a6ae3d594044fa0ca99e44ee189631238b609 100644 (file)
@@ -790,7 +790,7 @@ static inline void cpu_probe_sandcraft(struct cpuinfo_mips *c)
        }
 }
 
-static inline void cpu_probe_philips(struct cpuinfo_mips *c)
+static inline void cpu_probe_nxp(struct cpuinfo_mips *c)
 {
        decode_configs(c);
        switch (c->processor_id & 0xff00) {
@@ -799,7 +799,7 @@ static inline void cpu_probe_philips(struct cpuinfo_mips *c)
                c->isa_level = MIPS_CPU_ISA_M32R1;
                break;
        default:
-               panic("Unknown Philips Core!"); /* REVISIT: die? */
+               panic("Unknown NXP Core!"); /* REVISIT: die? */
                break;
        }
 }
@@ -938,8 +938,8 @@ __cpuinit void cpu_probe(void)
        case PRID_COMP_SANDCRAFT:
                cpu_probe_sandcraft(c);
                break;
-       case PRID_COMP_PHILIPS:
-               cpu_probe_philips(c);
+       case PRID_COMP_NXP:
+               cpu_probe_nxp(c);
                break;
        default:
                c->cputype = CPU_UNKNOWN;
similarity index 98%
rename from arch/mips/philips/pnx8550/common/platform.c
rename to arch/mips/nxp/pnx8550/common/platform.c
index c839436bd012915aa787eadec4097143a5391f70..c7c763dbe58843c2bf2276ef2925f8bde54027ac 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Platform device support for Philips PNX8550 SoCs
+ * Platform device support for NXP PNX8550 SoCs
  *
  * Copyright 2005, Embedded Alley Solutions, Inc
  *
similarity index 51%
rename from arch/mips/philips/pnx8550/jbs/Makefile
rename to arch/mips/nxp/pnx8550/jbs/Makefile
index e8228dbca8f653ee30e7c2e1090a6b11e9c5ea79..ad6a8ca7d8ce1420bd23ff538f1314cadf9aaad7 100644 (file)
@@ -1,4 +1,4 @@
 
-# Makefile for the Philips JBS Board.
+# Makefile for the NXP JBS Board.
 
 lib-y := init.o board_setup.o irqmap.o
similarity index 95%
rename from arch/mips/philips/pnx8550/jbs/board_setup.c
rename to arch/mips/nxp/pnx8550/jbs/board_setup.c
index e550a3e12f654445178f2e494a315926405adfd9..f92826e0096dd791608ca3c8a7e76a56c26cfdc7 100644 (file)
@@ -53,8 +53,8 @@ void __init board_setup(void)
 
        /* clear all three cache coherency fields */
        config0 &= ~(0x7 | (7<<25) | (7<<28));
-       config0 |= (_page_cachable_default >> _CACHE_SHIFT) |
-                  (CONF_CM_DEFAULT << 25) | (CONF_CM_DEFAULT << 28);
+       config0 |= (CONF_CM_DEFAULT | (CONF_CM_DEFAULT<<25) |
+                       (CONF_CM_DEFAULT<<28));
        write_c0_config(config0);
        BARRIER;
 
similarity index 98%
rename from arch/mips/philips/pnx8550/jbs/init.c
rename to arch/mips/nxp/pnx8550/jbs/init.c
index 90b4d35f3eceb2b4cde916d43f6a03e04f7b143c..d59b4a4e5e8b2065b88b36447b4dca8563855c61 100644 (file)
@@ -40,7 +40,7 @@ extern char *prom_getenv(char *envname);
 
 const char *get_system_type(void)
 {
-       return "Philips PNX8550/JBS";
+       return "NXP PNX8550/JBS";
 }
 
 void __init prom_init(void)
similarity index 98%
rename from arch/mips/philips/pnx8550/jbs/irqmap.c
rename to arch/mips/nxp/pnx8550/jbs/irqmap.c
index 98c3429e6e50327ce94d45c080c29c019eca604f..7fc89842002c39f33386fdc2a4a02310de666724 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Philips JBS board irqmap.
+ *  NXP JBS board irqmap.
  *
  *  Copyright 2005 Embedded Alley Solutions, Inc
  *  source@embeddealley.com
@@ -33,4 +33,3 @@ char pnx8550_irq_tab[][5] __initdata = {
        [9]     = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff},
        [17]    = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff},
 };
-
similarity index 52%
rename from arch/mips/philips/pnx8550/stb810/Makefile
rename to arch/mips/nxp/pnx8550/stb810/Makefile
index f14b592af398a4de93927e23c190419018ef71f6..ab91d72c5664556515b13f3e2cd0f5ecbc901e0d 100644 (file)
@@ -1,4 +1,4 @@
 
-# Makefile for the Philips STB810 Board.
+# Makefile for the NXP STB810 Board.
 
 lib-y := prom_init.o board_setup.o irqmap.o
similarity index 86%
rename from arch/mips/philips/pnx8550/stb810/board_setup.c
rename to arch/mips/nxp/pnx8550/stb810/board_setup.c
index d461d7a62365e06abcd19e64a8726a74560bde36..1282c27cfcb7fe1e2255f675fb32e8aa518657f1 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *  STB810 specific board startup routines.
  *
- *  Based on the arch/mips/philips/pnx8550/jbs/board_setup.c
+ *  Based on the arch/mips/nxp/pnx8550/jbs/board_setup.c
  *
  *  Author: MontaVista Software, Inc.
  *          source@mvista.com
@@ -39,8 +39,8 @@ void __init board_setup(void)
 
        /* clear all three cache coherency fields */
        config0 &= ~(0x7 | (7<<25) | (7<<28));
-       config0 |= (_page_cachable_default >> _CACHE_SHIFT) |
-                  (CONF_CM_DEFAULT << 25) | (CONF_CM_DEFAULT << 28);
+       config0 |= (CONF_CM_DEFAULT | (CONF_CM_DEFAULT<<25) |
+                       (CONF_CM_DEFAULT<<28));
        write_c0_config(config0);
 
        configpr = read_c0_config7();
similarity index 94%
rename from arch/mips/philips/pnx8550/stb810/irqmap.c
rename to arch/mips/nxp/pnx8550/stb810/irqmap.c
index 5ee11e19975ef6cb400524ff7cab3f5acdec2e4b..8c034963ddcd778ef800a7f5b43298cb0f20b8b5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Philips STB810 board irqmap.
+ *  NXP STB810 board irqmap.
  *
  *  Author: MontaVista Software, Inc.
  *          source@mvista.com
@@ -20,4 +20,3 @@ char pnx8550_irq_tab[][5] __initdata = {
        [9]     = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff},
        [10]    = { -1, PNX8550_INT_PCI_INTA, 0xff, 0xff, 0xff},
 };
-
similarity index 96%
rename from arch/mips/philips/pnx8550/stb810/prom_init.c
rename to arch/mips/nxp/pnx8550/stb810/prom_init.c
index 832dd60b0a7a80113a5cd824b3db8954b52ee0d8..ca7f4ada064079a3df6ff4c672621a0aa726c138 100644 (file)
@@ -28,7 +28,7 @@ extern char *prom_getenv(char *envname);
 
 const char *get_system_type(void)
 {
-       return "Philips PNX8550/STB810";
+       return "NXP PNX8950/STB810";
 }
 
 void __init prom_init(void)
index 6d04ea912254b36da603fbd17e072c8ab99e40a0..1c35cac6f35b1c72ab130d6719f9dde3dfef9f86 100644 (file)
@@ -29,7 +29,7 @@
 #define PRID_COMP_ALCHEMY      0x030000
 #define PRID_COMP_SIBYTE       0x040000
 #define PRID_COMP_SANDCRAFT    0x050000
-#define PRID_COMP_PHILIPS      0x060000
+#define PRID_COMP_NXP          0x060000
 #define PRID_COMP_TOSHIBA      0x070000
 #define PRID_COMP_LSI          0x080000
 #define PRID_COMP_LEXRA                0x0b0000