From: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [GIT PULL] MIPS updates
Date: Tue, 08 Jul 2008 23:04:05 +0900 [thread overview]
Message-ID: <487373D5.6020005@ruby.dti.ne.jp> (raw)
Please pull MIPS update to pick up the following patch.
The following changes since commit c956717ab25c962ef49d49064dfc73f4edcba1fb:
Wolfgang Denk (1):
Merge branch 'master' of /home/wd/git/u-boot/custodians
are available in the git repository at:
git://git.denx.de/u-boot-mips.git master
Jason McMullan (1):
mips: When booting Linux images, add 'ethaddr' and 'eth1addr' to the environment
lib_mips/bootm.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/lib_mips/bootm.c b/lib_mips/bootm.c
index f813fc5..8fe3782 100644
--- a/lib_mips/bootm.c
+++ b/lib_mips/bootm.c
@@ -54,6 +54,7 @@ void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
char *commandline = getenv ("bootargs");
char env_buf[12];
int ret;
+ const char *cp;
/* find kernel entry point */
if (images->legacy_hdr_valid) {
@@ -113,6 +114,16 @@ void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
sprintf (env_buf, "0x%X", (uint) (gd->bd->bi_flashsize));
linux_env_set ("flash_size", env_buf);
+ cp = getenv("ethaddr");
+ if (cp != NULL) {
+ linux_env_set("ethaddr", cp);
+ }
+
+ cp = getenv("eth1addr");
+ if (cp != NULL) {
+ linux_env_set("eth1addr", cp);
+ }
+
if (!images->autostart)
return ;
next reply other threads:[~2008-07-08 14:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-08 14:04 Shinya Kuribayashi [this message]
2008-07-09 21:24 ` [U-Boot-Users] [GIT PULL] MIPS updates Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2008-07-29 16:00 Shinya Kuribayashi
2008-07-29 23:24 ` Wolfgang Denk
2008-06-07 1:19 Shinya Kuribayashi
2008-06-11 20:51 ` Wolfgang Denk
2008-05-22 15:29 Shinya Kuribayashi
2008-05-06 4:34 Shinya Kuribayashi
2008-05-09 20:20 ` Wolfgang Denk
2008-05-02 3:33 Shinya Kuribayashi
2008-05-03 22:10 ` Wolfgang Denk
2008-03-25 13:04 Shinya Kuribayashi
2008-01-16 23:42 Shinya Kuribayashi
2008-01-23 13:38 ` Wolfgang Denk
2007-11-17 12:15 Shinya Kuribayashi
2007-11-18 0:28 ` Wolfgang Denk
2007-10-21 14:31 Shinya Kuribayashi
2007-11-01 21:54 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=487373D5.6020005@ruby.dti.ne.jp \
--to=skuribay@ruby.dti.ne.jp \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.