commit | 7f0c3c51c2d455b7e12196ed91aa461cf86b9790 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Oct 07 20:19:15 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Oct 21 07:46:26 2015 -0600 |
tree | 9419ac1307f98da7da4c200d8f3edca9b43ccf12 | |
parent | 9dffa52da8f3fd23fe38ee184512b2a08678d933 [diff] |
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>