public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marcel Ziswiler <marcel@ziswiler.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH][v1] FDT: remove obsolete OF_CPU and OF_SOC macros.
Date: Tue, 08 Sep 2009 17:26:47 +0200	[thread overview]
Message-ID: <1252423607.5386.10.camel@com-21> (raw)

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@noser.com>
---
 README                        |    6 ++++--
 include/configs/IDS8247.h     |    2 --
 include/configs/MPC8260ADS.h  |    1 -
 include/configs/linkstation.h |    2 --
 include/configs/mgcoge.h      |    2 --
 include/configs/mpc7448hpc2.h |    1 -
 include/configs/muas3001.h    |    2 --
 include/configs/stxxtc.h      |    1 -
 8 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/README b/README
index ff4ed8b..3cb7786 100644
--- a/README
+++ b/README
@@ -368,8 +368,10 @@ The following options need to be configured:
 		 * Adds the "fdt" command
 		 * The bootm command automatically updates the fdt
 
-		OF_CPU - The proper name of the cpus node.
-		OF_SOC - The proper name of the soc node.
+		OF_CPU - The proper name of the cpus node (only required for
+			MPC512X and MPC5xxx based boards).
+		OF_SOC - The proper name of the soc node (only required for
+			MPC512X and MPC5xxx based boards).
 		OF_TBCLK - The timebase frequency.
 		OF_STDOUT_PATH - The path to the console device
 
diff --git a/include/configs/IDS8247.h b/include/configs/IDS8247.h
index 4c4af05..147a8b2 100644
--- a/include/configs/IDS8247.h
+++ b/include/configs/IDS8247.h
@@ -125,8 +125,6 @@
 #define CONFIG_OF_LIBFDT	1
 #define CONFIG_OF_BOARD_SETUP	1
 
-#define OF_CPU	"PowerPC,8247 at 0"
-#define OF_SOC	"soc at f0000000"
 #define OF_TBCLK	(bd->bi_busfreq / 4)
 #define OF_STDOUT_PATH	"/soc at f0000000/serial8250 at e0008000"
 
diff --git a/include/configs/MPC8260ADS.h b/include/configs/MPC8260ADS.h
index 942a4cc..677a143 100644
--- a/include/configs/MPC8260ADS.h
+++ b/include/configs/MPC8260ADS.h
@@ -209,7 +209,6 @@
 #define CONFIG_OF_LIBFDT	1
 #define CONFIG_OF_BOARD_SETUP	1
 #if defined(CONFIG_OF_LIBFDT)
-#define OF_CPU			"cpu at 0"
 #define OF_TBCLK		(bd->bi_busfreq / 4)
 #endif
 
diff --git a/include/configs/linkstation.h
b/include/configs/linkstation.h
index 2feb3ae..16b464c 100644
--- a/include/configs/linkstation.h
+++ b/include/configs/linkstation.h
@@ -96,8 +96,6 @@
 
 #define CONFIG_OF_LIBFDT	1
 
-#define OF_CPU			"PowerPC,603e"
-#define OF_SOC			"soc10x at 80000000"
 #define OF_STDOUT_PATH		"/soc10x/serial at 80004600"
 
 /* this must be included AFTER the definition of CONFIG_COMMANDS (if
any) */
diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h
index ea14948..99ac8c1 100644
--- a/include/configs/mgcoge.h
+++ b/include/configs/mgcoge.h
@@ -346,8 +346,6 @@
 #define CONFIG_OF_LIBFDT	1
 #define CONFIG_OF_BOARD_SETUP	1
 
-#define OF_CPU			"PowerPC,8247 at 0"
-#define OF_SOC			"soc at f0000000"
 #define OF_TBCLK		(bd->bi_busfreq / 4)
 #define OF_STDOUT_PATH		"/soc/cpm/serial at 11a90"
 
diff --git a/include/configs/mpc7448hpc2.h
b/include/configs/mpc7448hpc2.h
index 4f98ba4..be12186 100644
--- a/include/configs/mpc7448hpc2.h
+++ b/include/configs/mpc7448hpc2.h
@@ -79,7 +79,6 @@
 #define CONFIG_OF_LIBFDT	1
 #define CONFIG_OF_BOARD_SETUP	1
 
-#define OF_CPU			"PowerPC,7448 at 0"
 #define OF_TSI			"tsi108 at c0000000"
 #define OF_TBCLK		(bd->bi_busfreq / 8)
 #define OF_STDOUT_PATH		"/tsi108 at c0000000/serial at 7808"
diff --git a/include/configs/muas3001.h b/include/configs/muas3001.h
index f031a17..f2d117c 100644
--- a/include/configs/muas3001.h
+++ b/include/configs/muas3001.h
@@ -404,8 +404,6 @@
 #define CONFIG_OF_LIBFDT	1
 #define CONFIG_OF_BOARD_SETUP	1
 
-#define OF_CPU			"PowerPC,8270 at 0"
-#define OF_SOC			"soc at f0000000"
 #define OF_TBCLK		(bd->bi_busfreq / 4)
 #if defined(CONFIG_MUAS_DEV_BOARD)
 #define OF_STDOUT_PATH		"/soc/cpm/serial at 11a90"
diff --git a/include/configs/stxxtc.h b/include/configs/stxxtc.h
index d16262b..5854366 100644
--- a/include/configs/stxxtc.h
+++ b/include/configs/stxxtc.h
@@ -509,7 +509,6 @@ typedef unsigned int led_id_t;
 /* pass open firmware flattened device tree */
 #define CONFIG_OF_LIBFDT	1
 
-#define OF_CPU			"PowerPC,MPC870 at 0"
 #define OF_TBCLK		(MPC8XX_HZ / 16)
 
 #endif	/* __CONFIG_H */
-- 
1.6.0.4

             reply	other threads:[~2009-09-08 15:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08 15:26 Marcel Ziswiler [this message]
2009-09-08 18:41 ` [U-Boot] [PATCH][v1] FDT: remove obsolete OF_CPU and OF_SOC macros Wolfgang Denk
2009-09-08 20:50   ` Marcel Ziswiler
2009-09-08 21:11     ` Wolfgang Denk
2009-09-08 21:15       ` Marcel Ziswiler
2009-09-08 21:23         ` Wolfgang Denk
2009-09-08 21:30           ` Marcel Ziswiler
2009-09-09 19:18 ` [U-Boot] [PATCH][v2] " Marcel Ziswiler
2009-09-11 11:08   ` Guennadi Liakhovetski
2009-09-22 18:35   ` Wolfgang Denk

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=1252423607.5386.10.camel@com-21 \
    --to=marcel@ziswiler.com \
    --cc=u-boot@lists.denx.de \
    /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