Skip to contentSkip to conversation

mpc83xx: add missing CONFIG_HAS_ETH0 defines

PATCH New Kim Phillips 1 participant 1 message Jan 9, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpc83xx: add missing CONFIG_HAS_ETH0 defines

the new libfdt code only updates eth0 if CONFIG_HAS_ETH0 is defined; add the define to the missing board configs.

Thanks to Emilian Medve for finding this.

---
 include/configs/MPC8323ERDB.h |    1 +
 include/configs/MPC832XEMDS.h |    1 +
 include/configs/MPC8360EMDS.h |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
include/configs/MPC8323ERDB.h +1 -0
index 564de02..3521eb6 100644
@@ -513,6 +513,7 @@
  */
 #define CONFIG_ENV_OVERWRITE
 
+#define CONFIG_HAS_ETH0				/* add support for "ethaddr" */
 #define CONFIG_ETHADDR	00:04:9f:ef:03:01
 #define CONFIG_HAS_ETH1				/* add support for "eth1addr" */
 #define CONFIG_ETH1ADDR	00:04:9f:ef:03:02
include/configs/MPC832XEMDS.h +1 -0
index a48b311..5eb5f12 100644
@@ -575,6 +575,7 @@
 #define CONFIG_ENV_OVERWRITE
 
 #if defined(CONFIG_UEC_ETH)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR	00:04:9f:ef:03:01
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR	00:04:9f:ef:03:02
include/configs/MPC8360EMDS.h +1 -0
index fedb8a9..a6755e7 100644
@@ -606,6 +606,7 @@
 #define CONFIG_ENV_OVERWRITE
 
 #if defined(CONFIG_UEC_ETH)
+#define CONFIG_HAS_ETH0
 #define CONFIG_ETHADDR	00:04:9f:ef:01:01
 #define CONFIG_HAS_ETH1
 #define CONFIG_ETH1ADDR 00:04:9f:ef:01:02
Signature · 1 line
1.5.3