]> git.sur5r.net Git - u-boot/commitdiff
rpi_b: handle import of environments in files with CRLF as line endings
authorAlexander Holler <holler@ahsoftware.de>
Mon, 14 Jul 2014 15:49:58 +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/rpi_b.h

index ff48598dd562eb738441cc1580f391dbef3db4bb..60f24895e5dd48b3c97cad80c93822adda418600 100644 (file)
@@ -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 \