]> git.sur5r.net Git - u-boot/commit
cmd: bootvx: Avoid strlen() calls when constructing VxWorks bootline
authorBin Meng <bmeng.cn@gmail.com>
Thu, 8 Oct 2015 03:19:15 +0000 (20:19 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:26 +0000 (07:46 -0600)
commit7f0c3c51c2d455b7e12196ed91aa461cf86b9790
tree9419ac1307f98da7da4c200d8f3edca9b43ccf12
parent9dffa52da8f3fd23fe38ee184512b2a08678d933
cmd: bootvx: Avoid strlen() calls when constructing VxWorks bootline

Remember the position in the VxWorks bootline buffer to avoid the call
to strlen() each time.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cmd_elf.c