From: Sam Protsenko Date: Thu, 13 Jun 2019 21:11:06 +0300 Subject: [U-Boot] [PATCH v3 0/3] fastboot: Fix getvar "has-slot" and cleanup Message-ID: <20190613181109.6917-1-semen.protsenko@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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