Re: [U-Boot] [PATCH v3 07/12] cmd: bootvx: Avoid strlen() calls when constructing VxWorks bootline

2015-10-18 Thread Simon Glass
On 8 October 2015 at 10:09, Simon Glass wrote: > On 8 October 2015 at 04:19, Bin Meng wrote: >> Remember the position in the VxWorks bootline buffer to avoid the call >> to strlen() each time. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v3: >> - New patch to avoid strlen() calls whe

Re: [U-Boot] [PATCH v3 07/12] cmd: bootvx: Avoid strlen() calls when constructing VxWorks bootline

2015-10-08 Thread Simon Glass
On 8 October 2015 at 04:19, Bin Meng wrote: > Remember the position in the VxWorks bootline buffer to avoid the call > to strlen() each time. > > Signed-off-by: Bin Meng > > --- > > Changes in v3: > - New patch to avoid strlen() calls when constructing VxWorks bootline > > Changes in v2: None > >

[U-Boot] [PATCH v3 07/12] cmd: bootvx: Avoid strlen() calls when constructing VxWorks bootline

2015-10-07 Thread Bin Meng
Remember the position in the VxWorks bootline buffer to avoid the call to strlen() each time. Signed-off-by: Bin Meng --- Changes in v3: - New patch to avoid strlen() calls when constructing VxWorks bootline Changes in v2: None common/cmd_elf.c | 20 ++-- 1 file changed, 10 i