Skip to content

Commit

Permalink
powerpc: Move GE PIC drivers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martyn Welch authored and Kumar Gala committed Mar 16, 2012
1 parent 6518bb6 commit 44b24b7
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 9 deletions.
4 changes: 0 additions & 4 deletions arch/powerpc/platforms/86xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/platforms/86xx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/86xx/gef_ppc9a.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/86xx/gef_sbc310.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/86xx/gef_sbc610.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions arch/powerpc/sysdev/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions arch/powerpc/sysdev/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
1 change: 1 addition & 0 deletions arch/powerpc/sysdev/ge/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_GE_FPGA) += ge_pic.o
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <asm/prom.h>
#include <asm/irq.h>

#include "gef_pic.h"
#include "ge_pic.h"

#define DEBUG
#undef DEBUG
Expand Down
File renamed without changes.

0 comments on commit 44b24b7

Please sign in to comment.