From: Alexander Holler <holler@ahsoftware.de>
Date: Mon, 14 Jul 2014 15:49:56 +0000 (+0200)
Subject: omap3_beagle: handle import of environments in files with CRLF as line endings
X-Git-Tag: v2025.01-rc5-pxa1908~15009
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/gitweb.css?a=commitdiff_plain;h=44bd26fa99fb6d7c1d98c9e8d0bc0c5ac51c04bf;p=u-boot.git

omap3_beagle: 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>
---

diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 3782049ee6..9ba031d4ba 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -195,7 +195,7 @@
 	"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} " \