aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/ppc/platforms/4xx/Kconfig7
-rw-r--r--arch/ppc/platforms/4xx/Makefile2
-rw-r--r--arch/ppc/platforms/4xx/virtex.c (renamed from arch/ppc/platforms/4xx/virtex-ii_pro.c)4
-rw-r--r--arch/ppc/platforms/4xx/virtex.h (renamed from arch/ppc/platforms/4xx/virtex-ii_pro.h)8
-rw-r--r--arch/ppc/platforms/4xx/xilinx_ml300.c2
-rw-r--r--arch/ppc/platforms/4xx/xilinx_ml300.h2
-rw-r--r--arch/ppc/syslib/Makefile2
7 files changed, 16 insertions, 11 deletions
diff --git a/arch/ppc/platforms/4xx/Kconfig b/arch/ppc/platforms/4xx/Kconfig
index d8837911bbc6..203abab32cc3 100644
--- a/arch/ppc/platforms/4xx/Kconfig
+++ b/arch/ppc/platforms/4xx/Kconfig
@@ -208,11 +208,16 @@ config 405GPR
208 depends on SYCAMORE 208 depends on SYCAMORE
209 default y 209 default y
210 210
211config VIRTEX_II_PRO 211config XILINX_VIRTEX_II_PRO
212 bool 212 bool
213 depends on XILINX_ML300 213 depends on XILINX_ML300
214 default y 214 default y
215 215
216config XILINX_VIRTEX
217 bool
218 depends on XILINX_VIRTEX_II_PRO
219 default y
220
216config STB03xxx 221config STB03xxx
217 bool 222 bool
218 depends on REDWOOD_5 || REDWOOD_6 223 depends on REDWOOD_5 || REDWOOD_6
diff --git a/arch/ppc/platforms/4xx/Makefile b/arch/ppc/platforms/4xx/Makefile
index c9bb61170954..be4163c8afe7 100644
--- a/arch/ppc/platforms/4xx/Makefile
+++ b/arch/ppc/platforms/4xx/Makefile
@@ -26,4 +26,4 @@ obj-$(CONFIG_440SP) += ibm440sp.o
26obj-$(CONFIG_440SPE) += ppc440spe.o 26obj-$(CONFIG_440SPE) += ppc440spe.o
27obj-$(CONFIG_405EP) += ibm405ep.o 27obj-$(CONFIG_405EP) += ibm405ep.o
28obj-$(CONFIG_405GPR) += ibm405gpr.o 28obj-$(CONFIG_405GPR) += ibm405gpr.o
29obj-$(CONFIG_VIRTEX_II_PRO) += virtex-ii_pro.o 29obj-$(CONFIG_XILINX_VIRTEX) += virtex.o
diff --git a/arch/ppc/platforms/4xx/virtex-ii_pro.c b/arch/ppc/platforms/4xx/virtex.c
index 097cc9d5aca0..bbb12c0c0b2c 100644
--- a/arch/ppc/platforms/4xx/virtex-ii_pro.c
+++ b/arch/ppc/platforms/4xx/virtex.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * arch/ppc/platforms/4xx/virtex-ii_pro.c 2 * arch/ppc/platforms/4xx/virtex.c
3 * 3 *
4 * Author: MontaVista Software, Inc. 4 * Author: MontaVista Software, Inc.
5 * source@mvista.com 5 * source@mvista.com
@@ -12,7 +12,7 @@
12#include <linux/config.h> 12#include <linux/config.h>
13#include <linux/init.h> 13#include <linux/init.h>
14#include <asm/ocp.h> 14#include <asm/ocp.h>
15#include "virtex-ii_pro.h" 15#include <platforms/4xx/virtex.h>
16 16
17/* Have OCP take care of the serial ports. */ 17/* Have OCP take care of the serial ports. */
18struct ocp_def core_ocp[] = { 18struct ocp_def core_ocp[] = {
diff --git a/arch/ppc/platforms/4xx/virtex-ii_pro.h b/arch/ppc/platforms/4xx/virtex.h
index 026130c8e72a..049c767d33e7 100644
--- a/arch/ppc/platforms/4xx/virtex-ii_pro.h
+++ b/arch/ppc/platforms/4xx/virtex.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * arch/ppc/platforms/4xx/virtex-ii_pro.h 2 * arch/ppc/platforms/4xx/virtex.h
3 * 3 *
4 * Include file that defines the Xilinx Virtex-II Pro processor 4 * Include file that defines the Xilinx Virtex-II Pro processor
5 * 5 *
@@ -12,8 +12,8 @@
12 */ 12 */
13 13
14#ifdef __KERNEL__ 14#ifdef __KERNEL__
15#ifndef __ASM_VIRTEXIIPRO_H__ 15#ifndef __ASM_VIRTEX_H__
16#define __ASM_VIRTEXIIPRO_H__ 16#define __ASM_VIRTEX_H__
17 17
18#include <linux/config.h> 18#include <linux/config.h>
19#include <platforms/4xx/xparameters/xparameters.h> 19#include <platforms/4xx/xparameters/xparameters.h>
@@ -95,5 +95,5 @@
95 95
96#include <asm/ibm405.h> 96#include <asm/ibm405.h>
97 97
98#endif /* __ASM_VIRTEXIIPRO_H__ */ 98#endif /* __ASM_VIRTEX_H__ */
99#endif /* __KERNEL__ */ 99#endif /* __KERNEL__ */
diff --git a/arch/ppc/platforms/4xx/xilinx_ml300.c b/arch/ppc/platforms/4xx/xilinx_ml300.c
index 0b1b77d986bf..b0de0a2f131d 100644
--- a/arch/ppc/platforms/4xx/xilinx_ml300.c
+++ b/arch/ppc/platforms/4xx/xilinx_ml300.c
@@ -22,7 +22,7 @@
22#include <asm/machdep.h> 22#include <asm/machdep.h>
23#include <asm/ocp.h> 23#include <asm/ocp.h>
24 24
25#include <platforms/4xx/virtex-ii_pro.h> /* for NR_SER_PORTS */ 25#include <platforms/4xx/virtex.h> /* for NR_SER_PORTS */
26 26
27/* 27/*
28 * As an overview of how the following functions (platform_init, 28 * As an overview of how the following functions (platform_init,
diff --git a/arch/ppc/platforms/4xx/xilinx_ml300.h b/arch/ppc/platforms/4xx/xilinx_ml300.h
index f8c588412336..899398143623 100644
--- a/arch/ppc/platforms/4xx/xilinx_ml300.h
+++ b/arch/ppc/platforms/4xx/xilinx_ml300.h
@@ -16,7 +16,7 @@
16#define __ASM_XILINX_ML300_H__ 16#define __ASM_XILINX_ML300_H__
17 17
18/* ML300 has a Xilinx Virtex-II Pro processor */ 18/* ML300 has a Xilinx Virtex-II Pro processor */
19#include <platforms/4xx/virtex-ii_pro.h> 19#include <platforms/4xx/virtex.h>
20 20
21#ifndef __ASSEMBLY__ 21#ifndef __ASSEMBLY__
22 22
diff --git a/arch/ppc/syslib/Makefile b/arch/ppc/syslib/Makefile
index 159dcd92a6d1..6234ee57b31c 100644
--- a/arch/ppc/syslib/Makefile
+++ b/arch/ppc/syslib/Makefile
@@ -17,7 +17,7 @@ obj-$(CONFIG_440GX) += ibm440gx_common.o
17obj-$(CONFIG_440SP) += ibm440gx_common.o ibm440sp_common.o 17obj-$(CONFIG_440SP) += ibm440gx_common.o ibm440sp_common.o
18obj-$(CONFIG_440SPE) += ibm440gx_common.o ibm440sp_common.o ppc440spe_pcie.o 18obj-$(CONFIG_440SPE) += ibm440gx_common.o ibm440sp_common.o ppc440spe_pcie.o
19ifeq ($(CONFIG_4xx),y) 19ifeq ($(CONFIG_4xx),y)
20ifeq ($(CONFIG_VIRTEX_II_PRO),y) 20ifeq ($(CONFIG_XILINX_VIRTEX),y)
21obj-$(CONFIG_40x) += xilinx_pic.o 21obj-$(CONFIG_40x) += xilinx_pic.o
22else 22else
23ifeq ($(CONFIG_403),y) 23ifeq ($(CONFIG_403),y)