am335x_evm: handle import of environments in files with CRLF as line endings
authorAlexander Holler <holler@ahsoftware.de>
Mon, 14 Jul 2014 15:49:57 +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/am335x_evm.h

index a48b386477167010c8e0d206423a3bdbe611cf83..34d27c632a94f5aa8a28a5385eef1ee0ff6716cf 100644 (file)
        "bootenv=uEnv.txt\0" \
        "loadbootenv=load 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} " \
                "root=${ramroot} " \