Re: [U-Boot] [PATCH] UBIFS: Change ubifsload to set the filesize variable

2011-09-05 Thread Marek Vasut
On Monday, September 05, 2011 04:27:28 PM Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <201109051512.48148.marek.va...@gmail.com> you wrote: > > > + setenv("filesize", buf); > > > > maybe you want to check set_local_var() too ? > > Yes, we should clean up all these auto-generated envi

Re: [U-Boot] [PATCH] UBIFS: Change ubifsload to set the filesize variable

2011-09-05 Thread Wolfgang Denk
Dear Marek Vasut, In message <201109051512.48148.marek.va...@gmail.com> you wrote: > > > + setenv("filesize", buf); > > maybe you want to check set_local_var() too ? Yes, we should clean up all these auto-generated environment variables one day. But what you propose here is not a good approac

Re: [U-Boot] [PATCH] UBIFS: Change ubifsload to set the filesize variable

2011-09-05 Thread Marek Vasut
On Monday, September 05, 2011 01:03:49 PM Bastian Ruppert wrote: > This is the same behaviour like tftp or fatload command. > > Signed-off-by: Bastian Ruppert > CC: kmp...@infradead.org > --- > fs/ubifs/ubifs.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/fs/

Re: [U-Boot] [PATCH] UBIFS: Change ubifsload to set the filesize variable

2011-09-05 Thread Wolfgang Denk
Dear Bastian Ruppert, In message <1315220629-9192-1-git-send-email-bastian.rupp...@sewerin.de> you wrote: > This is the same behaviour like tftp or fatload command. > @@ -719,6 +720,9 @@ int ubifs_load(char *filename, u32 addr, u32 size) > printf("Loading file '%s' to addr 0x%08x with size

[U-Boot] [PATCH] UBIFS: Change ubifsload to set the filesize variable

2011-09-05 Thread Bastian Ruppert
This is the same behaviour like tftp or fatload command. Signed-off-by: Bastian Ruppert CC: kmp...@infradead.org --- fs/ubifs/ubifs.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c index 5a5c739..2b9d2d2 100644 --- a/fs/ubifs/ubifs