]> git.baikalelectronics.ru Git - uboot.git/commit
bootvx: Refactor the bootline copy codes a little bit
authorBin Meng <bmeng.cn@gmail.com>
Thu, 12 Apr 2018 05:02:20 +0000 (22:02 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 16 Apr 2018 14:38:52 +0000 (22:38 +0800)
commit494abdd1dd8e1169f05361d763a31daac8dde085
tree8d90c8016c198a83022aa96186df3826d9408923
parentc9adec6288e0aa6703cc51a45abefb666c95368e
bootvx: Refactor the bootline copy codes a little bit

There is a small duplication in do_bootvx() that does the bootline
copy. Refactor this a little bit to make it simpler.

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