MIPS updates
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(-)
lib_mips/bootm.c +11 -0
@@ -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 ;
Quoted 8 lines · In message <[email protected]> you wrote:
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/custodiansare available in the git repository at:
Quoted 7 lines
git://git.denx.de/u-boot-mips.gitmasterJason McMullan (1):
mips: When booting Linux images, add 'ethaddr' and 'eth1addr' to the environmentlib_mips/bootm.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
Done, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "There's only one way to have a happy marriage and as soon as I learn what it is I'll get married again." - Clint Eastwood