summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Holler <holler@ahsoftware.de>2014-07-14 17:49:57 +0200
committerTom Rini <trini@ti.com>2014-07-22 07:44:26 -0400
commit4cfe8c3eddb3fd52743bb82610be56c7cd487492 (patch)
treefbff242c117e4cfa957b9f046b314aa47e9f6d0d
parent44bd26fa99fb6d7c1d98c9e8d0bc0c5ac51c04bf (diff)
downloadu-boot-imx-4cfe8c3eddb3fd52743bb82610be56c7cd487492.zip
u-boot-imx-4cfe8c3eddb3fd52743bb82610be56c7cd487492.tar.gz
u-boot-imx-4cfe8c3eddb3fd52743bb82610be56c7cd487492.tar.bz2
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 <holler@ahsoftware.de>
-rw-r--r--include/configs/am335x_evm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index a48b386..34d27c6 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} " \