Skip to content
Commit f23a87d5 authored by Sam Protsenko's avatar Sam Protsenko Committed by Marek Vasut
Browse files

fastboot: getvar: Refactor fastboot_*_get_part_info() usage



Extract fastboot_*_get_part_info() usage for MMC and NAND into
getvar_get_part_info() function, as it will be needed further in other
functions. This way we can avoid code duplication and mess with
preprocessor directives across all points of usage.

Signed-off-by: default avatarSam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: default avatarLukasz Majewski <lukma@denx.de>
Reviewed-by: default avatarIgor Opaniuk <igor.opaniuk@toradex.com>
parent cacb03e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment