From 977b57583a7c34010e566a09a679ec3c1836f996 Mon Sep 17 00:00:00 2001 From: Kim Phillips Date: Wed, 9 Jan 2008 15:24:06 -0600 Subject: [PATCH] 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. Signed-off-by: Kim Phillips --- include/configs/MPC8323ERDB.h | 1 + include/configs/MPC832XEMDS.h | 1 + include/configs/MPC8360EMDS.h | 1 + 3 files changed, 3 insertions(+) diff --git a/include/configs/MPC8323ERDB.h b/include/configs/MPC8323ERDB.h index 564de02..3521eb6 100644 --- a/include/configs/MPC8323ERDB.h +++ b/include/configs/MPC8323ERDB.h @@ -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 diff --git a/include/configs/MPC832XEMDS.h b/include/configs/MPC832XEMDS.h index a48b311..5eb5f12 100644 --- a/include/configs/MPC832XEMDS.h +++ b/include/configs/MPC832XEMDS.h @@ -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 diff --git a/include/configs/MPC8360EMDS.h b/include/configs/MPC8360EMDS.h index fedb8a9..a6755e7 100644 --- a/include/configs/MPC8360EMDS.h +++ b/include/configs/MPC8360EMDS.h @@ -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 -- 2.7.4