mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 17:30:35 +01:00
rpi_b: 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>
This commit is contained in:
parent
4cfe8c3edd
commit
11547b2992
1 changed files with 1 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue