commit | 6646bbdc5bd5358faa080458db7e50c0d9d93225 | [log] [tgz] |
---|---|---|
author | Sam Protsenko <semen.protsenko@linaro.org> | Thu Jun 13 21:11:08 2019 +0300 |
committer | Marek Vasut <marex@denx.de> | Fri Jun 14 12:39:54 2019 +0200 |
tree | 6a5ba67c810db40f39f16305fd592384dd3fbc0e | |
parent | 0fb37eed1e8a57b8b3d71311ed7c1f2b08734b6e [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>