This patch series fixes "has-slot" fastboot variable and provides associated refactoring, so that related code is not cluttered.
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 | 78 +++++++++++++++++++++++++++--------- 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, 66 insertions(+), 26 deletions(-) -- 2.20.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot