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

Simon Glass sjg at chromium.org
Sun Oct 18 23:37:39 CEST 2015


On 8 October 2015 at 10:09, Simon Glass <sjg at chromium.org> wrote:
> On 8 October 2015 at 04:19, Bin Meng <bmeng.cn at gmail.com> wrote:
>> Remember the position in the VxWorks bootline buffer to avoid the call
>> to strlen() each time.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>>
>> ---
>>
>> 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 insertions(+), 10 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list