[U-Boot] [PATCH 4/4] rpi_b: handle import of environments in files with CRLF as line endings
Alexander Holler
holler at ahsoftware.de
Mon Jul 14 17:49:58 CEST 2014
Use the new option -r for env import.
Signed-off-by: Alexander Holler <holler at ahsoftware.de>
---
include/configs/rpi_b.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 \
--
1.8.3.1
More information about the U-Boot
mailing list