diff options
author | Alexander Holler <holler@ahsoftware.de> | 2014-07-14 15:49:55 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-22 11:44:26 (GMT) |
commit | ecd1446fe1df00d7f7b9de286dba309d93b51870 (patch) | |
tree | 4379b5361d1ac07d36b56a6fadf4cae1cb6b3d64 /include/serial.h | |
parent | 8973601c38c63726e344fd1eb416f05ae18aec91 (diff) | |
download | u-boot-fsl-qoriq-ecd1446fe1df00d7f7b9de286dba309d93b51870.tar.xz |
Add option -r to env import to allow import of text files with CRLF as line endings
When this option is enabled, CRLF is treated like LF when importing environments
from text files, which means CRs ('\r') in front of LFs ('\n') are just ignored.
Drawback of enabling this option is that (maybe exported) variables which have
a trailing CR in their content will get imported without that CR. But this
drawback is very unlikely and the big advantage of letting Windows user create
a *working* uEnv.txt too is likely more welcome.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Diffstat (limited to 'include/serial.h')
0 files changed, 0 insertions, 0 deletions