From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 13 May 2012 20:52:49 +0200 Subject: [U-Boot] [PATCH 2/2] beagle: handle import of environments in files with CRLF as line endings In-Reply-To: <4FAFF5B9.9070304@ahsoftware.de> References: <1336913407-7383-1-git-send-email-holler@ahsoftware.de> <201205131909.49488.marek.vasut@gmail.com> <4FAFF5B9.9070304@ahsoftware.de> Message-ID: <201205132052.49764.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Alexander Holler, > On 13.05.2012 19:09, Marek Vasut wrote: > > Dear Alexander Holler, > > > >> Use the new option -r for env import. > >> > >> Signed-off-by: Alexander Holler > >> --- > >> > >> include/configs/omap3_beagle.h | 2 +- > >> 1 files changed, 1 insertions(+), 1 deletions(-) > >> > >> diff --git a/include/configs/omap3_beagle.h > >> b/include/configs/omap3_beagle.h index ddeb414..d8b10c2 100644 > >> --- a/include/configs/omap3_beagle.h > >> +++ b/include/configs/omap3_beagle.h > >> @@ -258,7 +258,7 @@ > >> > >> "bootenv=uEnv.txt\0" \ > >> "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \ > >> "importbootenv=echo Importing environment from mmc ...; " \ > >> > >> - "env import -t $loadaddr $filesize\0" \ > >> + "env import -t -r $loadaddr $filesize\0" \ > > > > Not everyone importing env on beagle use broken tools ;-) > > Who said that? You impose your -r option on all beagle users. That means everyone (even those with not-broken) tools will now use it (unless they replaced their env). > > Regards, > > Alexander Best regards, Marek Vasut