"slot-suffixes" variable was dropped in fastboot tool (in [1]). Let's
track AOSP/master and drop this variable in U-Boot as well.

[1] 
https://android.googlesource.com/platform/system/core/+/42b18a518bac85c3eea14206f6cbafbd1e98a31f

Signed-off-by: Sam Protsenko <semen.protse...@linaro.org>
---
Changes in v2:
  - add this patch to patch series
  - drop slot-suffix variable instead of returning "a,b"

 drivers/fastboot/fb_getvar.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/fastboot/fb_getvar.c b/drivers/fastboot/fb_getvar.c
index 584c7f0263..f89c7f62e6 100644
--- a/drivers/fastboot/fb_getvar.c
+++ b/drivers/fastboot/fb_getvar.c
@@ -19,7 +19,6 @@ static void getvar_version_baseband(char *var_parameter, char 
*response);
 static void getvar_product(char *var_parameter, char *response);
 static void getvar_platform(char *var_parameter, char *response);
 static void getvar_current_slot(char *var_parameter, char *response);
-static void getvar_slot_suffixes(char *var_parameter, char *response);
 #if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
 static void getvar_has_slot(char *var_parameter, char *response);
 #endif
@@ -64,9 +63,6 @@ static const struct {
        }, {
                .variable = "current-slot",
                .dispatch = getvar_current_slot
-       }, {
-               .variable = "slot-suffixes",
-               .dispatch = getvar_slot_suffixes
 #if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
        }, {
                .variable = "has-slot",
@@ -182,11 +178,6 @@ static void getvar_current_slot(char *var_parameter, char 
*response)
        fastboot_okay("_a", response);
 }
 
-static void getvar_slot_suffixes(char *var_parameter, char *response)
-{
-       fastboot_okay("_a,_b", response);
-}
-
 #if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
 static void getvar_has_slot(char *part_name, char *response)
 {
-- 
2.20.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to