diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2019-06-13 21:11:08 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-06-14 12:39:54 +0200 |
commit | f23a87d5811e38ec88627e0cbace665c22fb7025 (patch) | |
tree | 6a5ba67c810db40f39f16305fd592384dd3fbc0e /include | |
parent | cacb03e490bdf46897f57582c2b31a4783e79aa0 (diff) |
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: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions