From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Wed, 09 Jul 2008 10:40:02 -0700 Subject: [U-Boot-Users] [PATCH 3/6] sbc8560: define eth0 and eth1 instead of eth1 and eth2 In-Reply-To: <7eb409084041e287e63724e89f6d00d61e852de7.1215557132.git.paul.gortmaker@windriver.com> References: <1215624459-10055-1-git-send-email-paul.gortmaker@windriver.com> <8d54b96045b1f7a8504ca65177aeb92c6bc352f6.1215557132.git.paul.gortmaker@windriver.com> <2454e5feabc38f191374c24caf55b9b23b96f68d.1215557132.git.paul.gortmaker@windriver.com> <7eb409084041e287e63724e89f6d00d61e852de7.1215557132.git.paul.gortmaker@windriver.com> Message-ID: <4874F7F2.60406@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Paul Gortmaker wrote: > The existing config doesn't define CONFIG_HAS_ETH0, and so the > fdt support doesn't update the zeros in the dtb local-mac with > real data from the u-boot env. Since the existing config is > tailored to just two interfaces, get rid of the ETH2 definitions > at the same time. > --- > include/configs/sbc8560.h | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/include/configs/sbc8560.h b/include/configs/sbc8560.h > index f07fbc0..e5195e0 100644 > --- a/include/configs/sbc8560.h > +++ b/include/configs/sbc8560.h > @@ -407,11 +407,10 @@ > > /*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:01:af:07:9b:8a > # define CONFIG_HAS_ETH1 > # define CONFIG_ETH1ADDR 00:01:af:07:9b:8b > -# define CONFIG_HAS_ETH2 > -# define CONFIG_ETH2ADDR 00:01:af:07:9b:8c > #endif > > #define CONFIG_SERVERIP 192.168.0.131 > Please get rid of all default network parameters while you're at it (MAC addresses, IP addresses etc.) regards, Ben