]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: Move GE PIC drivers
authorMartyn Welch <martyn.welch@ge.com>
Mon, 12 Mar 2012 17:12:59 +0000 (17:12 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 16 Mar 2012 16:08:11 +0000 (11:08 -0500)
Move the GE PIC drivers to allow these to be used by non-86xx boards.

Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/86xx/Kconfig
arch/powerpc/platforms/86xx/Makefile
arch/powerpc/platforms/86xx/gef_ppc9a.c
arch/powerpc/platforms/86xx/gef_sbc310.c
arch/powerpc/platforms/86xx/gef_sbc610.c
arch/powerpc/sysdev/Kconfig
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/ge/Makefile [new file with mode: 0644]
arch/powerpc/sysdev/ge/ge_pic.c [moved from arch/powerpc/platforms/86xx/gef_pic.c with 99% similarity]
arch/powerpc/sysdev/ge/ge_pic.h [moved from arch/powerpc/platforms/86xx/gef_pic.h with 100% similarity]

index abe2c4fff8116a8c06503a4ec6d8722d6235d3b8..7a6279e38213e9c2444c4cb4ed67a118720390de 100644 (file)
@@ -64,10 +64,6 @@ config GEF_SBC610
        help
          This option enables support for the GE SBC610.
 
-config GE_FPGA
-       bool
-       default n
-
 endif
 
 config MPC8641
index 1ee6ca8e53f75b8913eb62b156839e8d36e6f519..ede815d6489dbc8fbce9bea2b08fe05549737db7 100644 (file)
@@ -7,7 +7,6 @@ obj-$(CONFIG_SMP)               += mpc86xx_smp.o
 obj-$(CONFIG_MPC8641_HPCN)     += mpc86xx_hpcn.o
 obj-$(CONFIG_SBC8641D)         += sbc8641d.o
 obj-$(CONFIG_MPC8610_HPCD)     += mpc8610_hpcd.o
-obj-$(CONFIG_GE_FPGA)          += gef_pic.o
 obj-$(CONFIG_GEF_SBC610)       += gef_sbc610.o
 obj-$(CONFIG_GEF_SBC310)       += gef_sbc310.o
 obj-$(CONFIG_GEF_PPC9A)                += gef_ppc9a.o
index 60ce07e39100173ef750fe81a403bf7f0bb32c78..ed58b6cfd60cba66ab306876d350097dc5559c78 100644 (file)
@@ -37,9 +37,9 @@
 
 #include <sysdev/fsl_pci.h>
 #include <sysdev/fsl_soc.h>
+#include <sysdev/ge/ge_pic.h>
 
 #include "mpc86xx.h"
-#include "gef_pic.h"
 
 #undef DEBUG
 
index 3ecee25bf3edcd760f03f9139ca10962533649cd..710db69bd52314ed8f7f2d9bea5ac01c3beb87a7 100644 (file)
@@ -37,9 +37,9 @@
 
 #include <sysdev/fsl_pci.h>
 #include <sysdev/fsl_soc.h>
+#include <sysdev/ge/ge_pic.h>
 
 #include "mpc86xx.h"
-#include "gef_pic.h"
 
 #undef DEBUG
 
index 5090d608d9ee1cc47b556462550398f576fcbc19..4a13d2f4ac20181a021d4794ce5fb8f554fbcdc0 100644 (file)
@@ -37,9 +37,9 @@
 
 #include <sysdev/fsl_pci.h>
 #include <sysdev/fsl_soc.h>
+#include <sysdev/ge/ge_pic.h>
 
 #include "mpc86xx.h"
-#include "gef_pic.h"
 
 #undef DEBUG
 
index 7b4df37ac381edab99725c0ad9a4037d229d369f..a84fecf63c4d0841120b1d12c523e5567e5848da 100644 (file)
@@ -29,3 +29,7 @@ config SCOM_DEBUGFS
        bool "Expose SCOM controllers via debugfs"
        depends on PPC_SCOM
        default n
+
+config GE_FPGA
+       bool
+       default n
index 5e37b4717864400fe6b9b650f1a49e6ec889f80b..f80ff9f5f441f364571c30fe138e98368aaab58e 100644 (file)
@@ -65,3 +65,5 @@ obj-$(CONFIG_PPC_SCOM)                += scom.o
 subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
 
 obj-$(CONFIG_PPC_XICS)         += xics/
+
+obj-$(CONFIG_GE_FPGA)          += ge/
diff --git a/arch/powerpc/sysdev/ge/Makefile b/arch/powerpc/sysdev/ge/Makefile
new file mode 100644 (file)
index 0000000..8731ffc
--- /dev/null
@@ -0,0 +1 @@
+obj-$(CONFIG_GE_FPGA)          += ge_pic.o
similarity index 99%
rename from arch/powerpc/platforms/86xx/gef_pic.c
rename to arch/powerpc/sysdev/ge/ge_pic.c
index 94594e58594c618715e64a86c46fe98434551aef..002a56295e018acdc9bf5606828b6aa4e56cd817 100644 (file)
@@ -22,7 +22,7 @@
 #include <asm/prom.h>
 #include <asm/irq.h>
 
-#include "gef_pic.h"
+#include "ge_pic.h"
 
 #define DEBUG
 #undef DEBUG