diff mbox

[U-Boot,4/4] rpi_b: handle import of environments in files with CRLF as line endings

Message ID 1405352998-7707-5-git-send-email-holler@ahsoftware.de
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Alexander Holler July 14, 2014, 3:49 p.m. UTC
Use the new option -r for env import.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
---
 include/configs/rpi_b.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini July 22, 2014, 7:23 p.m. UTC | #1
On Mon, Jul 14, 2014 at 05:49:58PM +0200, Alexander Holler wrote:

> Use the new option -r for env import.
> 
> Signed-off-by: Alexander Holler <holler@ahsoftware.de>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h
index ff48598..60f2489 100644
--- a/include/configs/rpi_b.h
+++ b/include/configs/rpi_b.h
@@ -98,7 +98,7 @@ 
 #define CONFIG_SYS_CONSOLE_IS_IN_ENV
 #define CONFIG_PREBOOT \
 	"if load mmc 0:1 ${loadaddr} /uEnv.txt; then " \
-		"env import -t ${loadaddr} ${filesize}; " \
+		"env import -t -r ${loadaddr} ${filesize}; " \
 	"fi"
 
 #define ENV_DEVICE_SETTINGS \