[U-Boot] [U-Boot, 1/4] Add option -r to env import to allow import of text files with CRLF as line endings

Tom Rini
2014-07-22T19:23:05Z

On Mon, Jul 14, 2014 at 05:49:55PM +0200, Alexander Holler wrote:

> 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>

Applied to u-boot/master, thanks!

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140722/53660fe9/attachment.pgp>