
This patch series fixes "has-slot" fastboot variable and provides associated refactoring, so that related code is not cluttered.
Changes in v3: - fix build on platforms where CONFIG_FASTBOOT defined but CONFIG_FASTBOOT_FLASH is not defined - rework logic for "has-slot" variable (handle "no" case properly)
Igor Opaniuk (1): fastboot: Check if partition really exist in getvar_has_slot()
Sam Protsenko (2): fastboot: Use const qualifier for char *part_name fastboot: getvar: Refactor fastboot_*_get_part_info() usage
drivers/fastboot/fb_getvar.c | 97 ++++++++++++++++++++++++++++-------- drivers/fastboot/fb_mmc.c | 3 +- drivers/fastboot/fb_nand.c | 4 +- include/fb_mmc.h | 3 +- include/fb_nand.h | 4 +- 5 files changed, 84 insertions(+), 27 deletions(-)