[U-Boot] [PATCH v3 0/3] fastboot: Fix getvar "has-slot" and cleanup
Sam Protsenko
semen.protsenko at linaro.org
Thu Jun 13 18:11:06 UTC 2019
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(-)
--
2.20.1
More information about the U-Boot
mailing list