diff options
author | Tom Rini <trini@ti.com> | 2013-12-02 08:44:28 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-12-02 08:44:28 -0500 |
commit | 19210ae9838a867ce0243c41eafe928317c15b10 (patch) | |
tree | ba804ff91483eb762f7138d163bef14385ae3b9e /arch/mips/lib/bootm.c | |
parent | e40acc0a59319f9f3f0aba6ef10abd2dbf096ae1 (diff) | |
parent | 67d4752d1dae768c7ff381272880d4aceeb62085 (diff) | |
download | u-boot-imx-19210ae9838a867ce0243c41eafe928317c15b10.zip u-boot-imx-19210ae9838a867ce0243c41eafe928317c15b10.tar.gz u-boot-imx-19210ae9838a867ce0243c41eafe928317c15b10.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'arch/mips/lib/bootm.c')
-rw-r--r-- | arch/mips/lib/bootm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index 1febf29..71bb0d2 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mips/lib/bootm.c @@ -196,8 +196,10 @@ static void boot_prep_linux(bootm_headers_t *images) if (cp) linux_env_set("eth1addr", cp); - if (mips_boot_malta) - linux_env_set("modetty0", "38400n8r"); + if (mips_boot_malta) { + sprintf(env_buf, "%un8r", gd->baudrate); + linux_env_set("modetty0", env_buf); + } } static void boot_jump_linux(bootm_headers_t *images) |