]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
omap3_beagle: handle import of environments in files with CRLF as line endings
authorAlexander Holler <holler@ahsoftware.de>
Mon, 14 Jul 2014 15:49:56 +0000 (17:49 +0200)
committerTom Rini <trini@ti.com>
Tue, 22 Jul 2014 11:44:26 +0000 (07:44 -0400)
Use the new option -r for env import.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
include/configs/omap3_beagle.h

index 3782049ee6db6c1ff6d1dc5bbc02cc7eab7eed43..9ba031d4ba5ccbe606bbd0846cf867276ab50e53 100644 (file)
        "bootenv=uEnv.txt\0" \
        "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
        "importbootenv=echo Importing environment from mmc ...; " \
-               "env import -t $loadaddr $filesize\0" \
+               "env import -t -r $loadaddr $filesize\0" \
        "ramargs=setenv bootargs console=${console} " \
                "${optargs} " \
                "mpurate=${mpurate} " \