From: Alexander Holler Date: Mon, 14 Jul 2014 15:49:57 +0000 (+0200) Subject: am335x_evm: handle import of environments in files with CRLF as line endings X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4cfe8c3eddb3fd52743bb82610be56c7cd487492;hp=44bd26fa99fb6d7c1d98c9e8d0bc0c5ac51c04bf;p=people%2Fms%2Fu-boot.git am335x_evm: handle import of environments in files with CRLF as line endings Use the new option -r for env import. Signed-off-by: Alexander Holler --- diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index a48b386477..34d27c632a 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -117,7 +117,7 @@ "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} " \