From: grant.likely@secretlab.ca
To: glikely@gmail.com, mporter@kernel.crashing.org,
linuxppc-embedded@ozlabs.org, gnathita@gmail.com,
dhlii@dlasys.net
Subject: [PATCH 01/10] Move xparameters.h into xilinx virtex device specific path
Date: Mon, 9 Jan 2006 01:32:59 -0700 [thread overview]
Message-ID: <1136795579724-git-send-email-grant.likely@secretlab.ca> (raw)
In-Reply-To: <11367955793438-git-send-email-grant.likely@secretlab.ca>
xparameters should not be needed by anything but virtex platform code.
Move it from include/asm-ppc/ to platforms/4xx/xparameters/
This is preparing for work to remove xparameters from the dependancy tree
for most c files. xparam changes should not cause a recompile of the world.
Instead, drivers should get device info from the platform bus (populated
by the boot code)
Signed-off-by: Grant C. Likely <grant.likely@secretlab.ca>
---
arch/ppc/platforms/4xx/virtex-ii_pro.h | 2 +-
arch/ppc/platforms/4xx/xparameters/xparameters.h | 18 ++++++++++++++++++
arch/ppc/syslib/xilinx_pic.c | 2 +-
include/asm-ppc/xparameters.h | 18 ------------------
4 files changed, 20 insertions(+), 20 deletions(-)
create mode 100644 arch/ppc/platforms/4xx/xparameters/xparameters.h
delete mode 100644 include/asm-ppc/xparameters.h
b1415bdd1572c849313b4cb67b38ab725ca31c4e
diff --git a/arch/ppc/platforms/4xx/virtex-ii_pro.h b/arch/ppc/platforms/4xx/virtex-ii_pro.h
index 9014c48..026130c 100644
--- a/arch/ppc/platforms/4xx/virtex-ii_pro.h
+++ b/arch/ppc/platforms/4xx/virtex-ii_pro.h
@@ -16,7 +16,7 @@
#define __ASM_VIRTEXIIPRO_H__
#include <linux/config.h>
-#include <asm/xparameters.h>
+#include <platforms/4xx/xparameters/xparameters.h>
/* serial defines */
diff --git a/arch/ppc/platforms/4xx/xparameters/xparameters.h b/arch/ppc/platforms/4xx/xparameters/xparameters.h
new file mode 100644
index 0000000..fe4eac6
--- /dev/null
+++ b/arch/ppc/platforms/4xx/xparameters/xparameters.h
@@ -0,0 +1,18 @@
+/*
+ * include/asm-ppc/xparameters.h
+ *
+ * This file includes the correct xparameters.h for the CONFIG'ed board
+ *
+ * Author: MontaVista Software, Inc.
+ * source@mvista.com
+ *
+ * 2004 (c) MontaVista Software, Inc. This file is licensed under the terms
+ * of the GNU General Public License version 2. This program is licensed
+ * "as is" without any warranty of any kind, whether express or implied.
+ */
+
+#include <linux/config.h>
+
+#if defined(CONFIG_XILINX_ML300)
+#include <platforms/4xx/xparameters/xparameters_ml300.h>
+#endif
diff --git a/arch/ppc/syslib/xilinx_pic.c b/arch/ppc/syslib/xilinx_pic.c
index 47f04c7..848fb51 100644
--- a/arch/ppc/syslib/xilinx_pic.c
+++ b/arch/ppc/syslib/xilinx_pic.c
@@ -15,7 +15,7 @@
#include <linux/init.h>
#include <linux/irq.h>
#include <asm/io.h>
-#include <asm/xparameters.h>
+#include <platforms/4xx/xparameters/xparameters.h>
#include <asm/ibm4xx.h>
#include <asm/machdep.h>
diff --git a/include/asm-ppc/xparameters.h b/include/asm-ppc/xparameters.h
deleted file mode 100644
index fe4eac6..0000000
--- a/include/asm-ppc/xparameters.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * include/asm-ppc/xparameters.h
- *
- * This file includes the correct xparameters.h for the CONFIG'ed board
- *
- * Author: MontaVista Software, Inc.
- * source@mvista.com
- *
- * 2004 (c) MontaVista Software, Inc. This file is licensed under the terms
- * of the GNU General Public License version 2. This program is licensed
- * "as is" without any warranty of any kind, whether express or implied.
- */
-
-#include <linux/config.h>
-
-#if defined(CONFIG_XILINX_ML300)
-#include <platforms/4xx/xparameters/xparameters_ml300.h>
-#endif
--
1.0.6-g58e3
next prev parent reply other threads:[~2006-01-09 8:33 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-09 8:32 [PATCH 00/10] Xilinx Virtex-* updates grant.likely
2006-01-09 8:32 ` [PATCH 02/10] Make Virtex-II Pro support generic for all Virtex devices grant.likely
2006-01-12 17:28 ` Andrei Konovalov
2006-01-13 17:52 ` Grant Likely
2006-01-09 8:32 ` grant.likely [this message]
2006-01-12 17:26 ` [PATCH 01/10] Move xparameters.h into xilinx virtex device specific path Andrei Konovalov
2006-01-14 9:55 ` ML300 & ML403 patches Grant Likely
2006-01-09 8:33 ` [PATCH 04/10] Migrate ML300 reference design to the platform bus grant.likely
2006-01-09 8:33 ` [PATCH 06/10] Add xparameters file for Xilinx ML403 reference design grant.likely
2006-01-09 8:33 ` [PATCH 05/10] Add Virtex-4 FX to cpu table grant.likely
2006-01-09 8:33 ` [PATCH 03/10] Migrate Xilinx Vertex support from the OCP bus to the platfom bus grant.likely
2006-01-13 18:20 ` Peter Korsgaard
2006-01-09 8:33 ` [PATCH 10/10] Bug fix for Xilinx silicon errata 213 grant.likely
2006-01-09 8:33 ` [PATCH 07/10] Add support for Xilinx ML403 reference design grant.likely
2006-01-09 8:33 ` [PATCH 08/10] ML300 & ML403 need embed_config.o linked in grant.likely
2006-01-12 17:29 ` Andrei Konovalov
2006-01-13 18:18 ` Peter Korsgaard
2006-01-13 18:31 ` Matt Porter
2006-01-13 18:34 ` Grant Likely
2006-01-09 8:33 ` [PATCH 09/10] defconfigs for Xilinx ML300 and ML403 reference designs grant.likely
2006-01-13 18:17 ` [PATCH 00/10] Xilinx Virtex-* updates Peter Korsgaard
2006-01-16 5:27 ` David H. Lynch Jr.
2006-01-16 7:30 ` Grant Likely
-- strict thread matches above, loose matches on Subject: below --
2006-01-14 9:47 [PATCH 01/10] Move xparameters.h into xilinx virtex device specific path Grant C. Likely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1136795579724-git-send-email-grant.likely@secretlab.ca \
--to=grant.likely@secretlab.ca \
--cc=dhlii@dlasys.net \
--cc=glikely@gmail.com \
--cc=gnathita@gmail.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=mporter@kernel.crashing.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).