]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Add CONFIG_HAS_ETH0 to all boards with TSEC
authorAndy Fleming <afleming@freescale.com>
Thu, 16 Aug 2007 21:35:02 +0000 (16:35 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Thu, 16 Aug 2007 21:35:02 +0000 (16:35 -0500)
The 85xx code now relies on CONFIG_HAS_ETH0 to determine whether
to update TSEC1's device-tree node, so we need to add it
to all the boards with TSECs.  Do this for 83xx and 86xx, too,
since they will eventually do something similar.

Signed-off-by: Andy Fleming <afleming@freescale.com>
18 files changed:
include/configs/MPC8313ERDB.h
include/configs/MPC8349EMDS.h
include/configs/MPC8349ITX.h
include/configs/MPC8540ADS.h
include/configs/MPC8540EVAL.h
include/configs/MPC8541CDS.h
include/configs/MPC8548CDS.h
include/configs/MPC8555CDS.h
include/configs/MPC8560ADS.h
include/configs/MPC8641HPCN.h
include/configs/PM854.h
include/configs/PM856.h
include/configs/TQM834x.h
include/configs/TQM85xx.h
include/configs/sbc8349.h
include/configs/sbc8641d.h
include/configs/stxgp3.h
include/configs/stxssa.h

index f92dce541f859d8eeb03e5263afee59cbfa09d5b..377503782c96416b8f4839485b875ea110bc6068 100644 (file)
 
 #define CONFIG_ETHADDR         00:E0:0C:00:95:01
 #define CONFIG_HAS_ETH1
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETH1ADDR                00:E0:0C:00:95:02
 
 #define CONFIG_IPADDR          10.0.0.2
index 10af5f0bc8a7e50114bd7c785b1a4fc583509edc..48616c08b06e193cfbfefb55c713aa2e1e522222 100644 (file)
 #if defined(CONFIG_TSEC_ENET)
 #define CONFIG_ETHADDR         00:04:9f:ef:23:33
 #define CONFIG_HAS_ETH1
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETH1ADDR                00:E0:0C:00:7E:21
 #endif
 
index 58ee13d3f37b0c7d1b6574b788fe59a02c6e7dd4..c5d036296c33a2da62411e886360e6e18b61da94 100644 (file)
@@ -378,6 +378,7 @@ boards, we say we have two, but don't display a message if we find only one. */
 #define CONFIG_TSEC1
 
 #ifdef CONFIG_TSEC1
+#define CONFIG_HAS_ETH0
 #define CONFIG_TSEC1_NAME  "TSEC0"
 #define CFG_TSEC1_OFFSET       0x24000
 #define TSEC1_PHY_ADDR         0x1c    /* VSC8201 uses address 0x1c */
index b7749926717f38ba2c29da3a6173d00870bbdcb2..22de2fb2c74ed0b888a14770127d488d5a148a92 100644 (file)
 
 /* The mac addresses for all ethernet interface */
 #if defined(CONFIG_TSEC_ENET)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR   00:E0:0C:00:00:FD
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR  00:E0:0C:00:01:FD
index 5c03ac8c95e99bff653f46bdbaea2f54cb15a5dd..e376c11656b61878072e21a6a54dd089039553b0 100644 (file)
 #define CONFIG_NET_MULTI       1
 #define CONFIG_MII             1       /* MII PHY management   */
 #define CONFIG_TSEC1    1
+#define CONFIG_HAS_ETH0
 #define CONFIG_TSEC1_NAME      "TSEC0"
 #define CONFIG_TSEC2   1
+#define CONFIG_HAS_ETH1
 #define CONFIG_TSEC2_NAME      "TSEC1"
 #define CONFIG_MPC85XX_FEC      1
+#define CONFIG_HAS_ETH2
 #define CONFIG_MPC85XX_FEC_NAME                "FEC"
 #define TSEC1_PHY_ADDR          7
 #define        TSEC2_PHY_ADDR          4
index 33a153e3460621c92bec05e33c7cf6eb37d25bd2..a4727b29b8de279b0c21ef020dc0cdd96fdff66d 100644 (file)
@@ -481,6 +481,7 @@ extern unsigned long get_clock_freq(void);
 
 /* The mac addresses for all ethernet interface */
 #if defined(CONFIG_TSEC_ENET)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR   00:E0:0C:00:00:FD
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR  00:E0:0C:00:01:FD
index 7345a3e10f029d831bed755601adf209c7162f33..58a8ea55c3b373b736deac712486200ea5bc437a 100644 (file)
@@ -542,6 +542,7 @@ extern unsigned long get_clock_freq(void);
 
 /* The mac addresses for all ethernet interface */
 #if defined(CONFIG_TSEC_ENET)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR  00:E0:0C:00:00:FD
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR         00:E0:0C:00:01:FD
index 48a2663b5c65f289b4e992cbe6229e647e17d230..8d7d6579daefc39b07383f603d92d282fbb1d510 100644 (file)
@@ -481,6 +481,7 @@ extern unsigned long get_clock_freq(void);
 
 /* The mac addresses for all ethernet interface */
 #if defined(CONFIG_TSEC_ENET)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR   00:E0:0C:00:00:FD
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR  00:E0:0C:00:01:FD
index da41dadcd27af124edaadaecad7b1c12f6efb484..b3c33d9f7de489fbd83653bce44b7724701daa81 100644 (file)
 
 /* The mac addresses for all ethernet interface */
 #if defined(CONFIG_TSEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR   00:E0:0C:00:00:FD
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR  00:E0:0C:00:01:FD
index e912331f31c309a06c13ec66d40efabcb1455bcb..03e815d87d14498aed6ba5060196cd740752ce80 100644 (file)
@@ -608,6 +608,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_ETH3ADDR  00:E0:0C:00:03:FD
 #endif
 
+#define CONFIG_HAS_ETH0                1
 #define CONFIG_HAS_ETH1                1
 #define CONFIG_HAS_ETH2                1
 #define CONFIG_HAS_ETH3                1
index 93090b981c3e80425856f864b32796e75180e050..a6a1e738a806e6074c9aad6601b65e20796b6a05 100644 (file)
 /* Options are: TSEC[0-1] */
 #define CONFIG_ETHPRIME                "TSEC0"
 
+#define CONFIG_HAS_ETH0
 #define        CONFIG_HAS_ETH1         1
 #define        CONFIG_HAS_ETH2         1
 
index 6105747c70e4c3d9f4be9a1c51c53c33e4e93595..9a17e3d7333523cd01ce0d4cb3c0acac8b9024e8 100644 (file)
 
 /* The mac addresses for all ethernet interface */
 #if defined(CONFIG_TSEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR   00:40:42:01:00:00
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR  00:40:42:01:00:01
index 91c1694f2caca6b29a574f731fcb71ca28372281..01472529d0465ae8a9ced74f785ad2f07126ef3f 100644 (file)
@@ -501,6 +501,7 @@ extern int tqm834x_num_flash_banks;
  */
 
 #if defined(CONFIG_TSEC_ENET)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR         D2:DA:5E:44:BC:29
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR                1E:F3:40:21:92:53
index cb9bf5492950eb89e186b95704cc9d3534af0177..a330c4220dbabd2024a96c9b7624c077342da89d 100644 (file)
 #define FEC_PHY_ADDR           3
 #define FEC_PHYIDX             0
 #define FEC_FLAGS              0
+#define CONFIG_HAS_ETH0
 #define CONFIG_HAS_ETH1
 #define CONFIG_HAS_ETH2
 
index aa515ea6148eac6d24f18f251c2111fba2a2227d..37a8f87055b9f4f4d1a77a7319f81d729b91457f 100644 (file)
 #define CONFIG_ENV_OVERWRITE
 
 #if defined(CONFIG_TSEC_ENET)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR         00:a0:1e:a0:13:8d
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR                00:a0:1e:a0:13:8e
index 760b754e6c5f91dcec9a7069b98f19a96a5edcca..3525ab4c5b0a0c2da09420fbd9d1fbff681c13e4 100644 (file)
 #define CONFIG_ETH3ADDR  02:E0:0C:00:03:FD
 #endif
 
+#define CONFIG_HAS_ETH0                1
 #define CONFIG_HAS_ETH1                1
 #define CONFIG_HAS_ETH2                1
 #define CONFIG_HAS_ETH3                1
index 43b185bee6f1feae744152635cc158813588e852..c5ae0cde361480b2ee2cc830732c88db70a88c4e 100644 (file)
 
 /*Note: change below for your network setting!!! */
 #if defined(CONFIG_TSEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR  00:e0:0c:07:9b:8a
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR  00:e0:0c:07:9b:8b
index 3dae27ac11b54a635e094487c135625af5443d9f..f32ff67d9f46f95d4ebdb9bd4269f995d84fb58b 100644 (file)
 
 /*Note: change below for your network setting!!! */
 #if defined(CONFIG_TSEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR  00:e0:0c:07:9b:8a
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR  00:e0:0c:07:9b:8b