diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2019-06-18 17:55:25 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-08-08 12:35:02 +0300 |
commit | 160102d112ce6e94b2c924fe2aaafff79808dcba (patch) | |
tree | fd2cf5268193082607e0e0c109b74b4f19a67bdf | |
parent | 991e66017ccd79cf4b89a729433a9606a771bd2b (diff) | |
download | u-boot-160102d112ce6e94b2c924fe2aaafff79808dcba.tar.xz |
fastboot: Remove "slot-suffixes" variable
"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.protsenko@linaro.org>
[lukma: Remove getvar_slot_suffixes() declaration]
Signed-off-by: Lukasz Majewski <lukma@denx.de>
-rw-r--r-- | drivers/fastboot/fb_getvar.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/fastboot/fb_getvar.c b/drivers/fastboot/fb_getvar.c index bf957e8326..9ee5054485 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) { |