]> git.sur5r.net Git - u-boot/commit
cmd: part: Extract common code to separate function
authorSam Protsenko <semen.protsenko@linaro.org>
Mon, 26 Feb 2018 21:18:00 +0000 (23:18 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Mar 2018 01:59:27 +0000 (21:59 -0400)
commit64e6a49a11ab8226dfda00036044841ca87b94d8
treed0babf88fc7dd56eefdd9cd0a2ad39743c6d598b
parent36df616a2deabdc2091d5ef837dc02622462bb2d
cmd: part: Extract common code to separate function

Refactor the code for "part start" and "part size" commands to avoid
code duplication.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
cmd/part.c