From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 5 Jul 2008 18:18:29 +0200 Subject: [U-Boot-Users] [PATCH 10/10] [ARM] TQMA31: new kernel param. to pass the eth MAC addr to the Linux eth chip driver In-Reply-To: <20080704145014.12049.33869.stgit@tq-sewsrv-4.tq-net.de> References: <20080704144552.12049.55374.stgit@tq-sewsrv-4.tq-net.de> <20080704145014.12049.33869.stgit@tq-sewsrv-4.tq-net.de> Message-ID: <20080705161829.GA9928@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 16:50 Fri 04 Jul , Jens Gehrlein wrote: > Some Linux drivers like the smc911x driver, as used on TQMA31, rely on the MAC address > in the appropriate register, but U-Boot resets the controller after every transfer. > A patch for the Linux driver is necessary to extract the MAC address from the kernel > boot parameter line and set the MAC address register accordingly. > This patch adds the paramater "ethaddr" to the U-Boot default environment so that the > user cannot forget it. > > Signed-off-by: Jens Gehrlein > --- > > include/configs/TQMA31.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > > diff --git a/include/configs/TQMA31.h b/include/configs/TQMA31.h > index 504cb57..e9e5d78 100644 > --- a/include/configs/TQMA31.h > +++ b/include/configs/TQMA31.h > @@ -275,6 +275,7 @@ > "jtag=on " \ > "console=ttymxc0,115200\0" \ > "bootargs_nfs=setenv bootargs ${bootargs} " \ > + "ethaddr=${ethaddr} " \ why don't you use nwhwconf parameter? Best Regards, J.