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

Simon Glass sjg at chromium.org
Thu Oct 8 18:09:20 CEST 2015


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>


More information about the U-Boot mailing list