Re: [U-Boot] [PATCH v4 6/7] env: make "env default" selective, check and apply

2012-09-02 Thread Wolfgang Denk
Dear Marek Vasut, In message <201208242310.05189.marek.va...@gmail.com> you wrote: > > > >> +while (--argc> 0&& **++argv == '-') { > > > > > > m ... **++argv, yummy :) This might use some cleanup, to make more > > > readable. > > > > Uhm, this pattern is being used all over the pla

Re: [U-Boot] [PATCH v4 6/7] env: make "env default" selective, check and apply

2012-08-27 Thread Marek Vasut
Dear Gerlando Falauto, > On 08/24/2012 11:10 PM, Marek Vasut wrote: > > Dear Gerlando Falauto, > > > >> On 08/24/2012 04:56 PM, Marek Vasut wrote: > >>> Dear Gerlando Falauto, > >>> > Change the syntax (user API) for "env default": > -f: override write-once variables > var

Re: [U-Boot] [PATCH v4 6/7] env: make "env default" selective, check and apply

2012-08-27 Thread Gerlando Falauto
On 08/24/2012 11:10 PM, Marek Vasut wrote: Dear Gerlando Falauto, On 08/24/2012 04:56 PM, Marek Vasut wrote: Dear Gerlando Falauto, Change the syntax (user API) for "env default": -f: override write-once variables var... : accept individual variable(s) -a: all (resetting the whol

Re: [U-Boot] [PATCH v4 6/7] env: make "env default" selective, check and apply

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, > On 08/24/2012 04:56 PM, Marek Vasut wrote: > > Dear Gerlando Falauto, > > > >> Change the syntax (user API) for "env default": > >>-f: override write-once variables > >>var... : accept individual variable(s) > >>-a: all (resetting the whole env is NOT the defa

Re: [U-Boot] [PATCH v4 6/7] env: make "env default" selective, check and apply

2012-08-24 Thread Gerlando Falauto
On 08/24/2012 04:56 PM, Marek Vasut wrote: Dear Gerlando Falauto, Change the syntax (user API) for "env default": -f: override write-once variables var... : accept individual variable(s) -a: all (resetting the whole env is NOT the default behavior) Enable variable checking and make ch

Re: [U-Boot] [PATCH v4 6/7] env: make "env default" selective, check and apply

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, > Change the syntax (user API) for "env default": > -f: override write-once variables > var... : accept individual variable(s) > -a: all (resetting the whole env is NOT the default behavior) > > Enable variable checking and make changes effective by > enabling do_appl

[U-Boot] [PATCH v4 6/7] env: make "env default" selective, check and apply

2012-08-24 Thread Gerlando Falauto
Change the syntax (user API) for "env default": -f: override write-once variables var... : accept individual variable(s) -a: all (resetting the whole env is NOT the default behavior) Enable variable checking and make changes effective by enabling do_apply argument to himport_r(). Signed-off