mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-29 22:53:24 +08:00
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] 42b18a518b
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
[lukma: Remove getvar_slot_suffixes() declaration]
Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
991e66017c
commit
160102d112
@ -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_product(char *var_parameter, char *response);
|
||||||
static void getvar_platform(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_current_slot(char *var_parameter, char *response);
|
||||||
static void getvar_slot_suffixes(char *var_parameter, char *response);
|
|
||||||
#if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
|
#if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
|
||||||
static void getvar_has_slot(char *var_parameter, char *response);
|
static void getvar_has_slot(char *var_parameter, char *response);
|
||||||
#endif
|
#endif
|
||||||
@ -64,9 +63,6 @@ static const struct {
|
|||||||
}, {
|
}, {
|
||||||
.variable = "current-slot",
|
.variable = "current-slot",
|
||||||
.dispatch = getvar_current_slot
|
.dispatch = getvar_current_slot
|
||||||
}, {
|
|
||||||
.variable = "slot-suffixes",
|
|
||||||
.dispatch = getvar_slot_suffixes
|
|
||||||
#if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
|
#if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
|
||||||
}, {
|
}, {
|
||||||
.variable = "has-slot",
|
.variable = "has-slot",
|
||||||
@ -182,11 +178,6 @@ static void getvar_current_slot(char *var_parameter, char *response)
|
|||||||
fastboot_okay("a", 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)
|
#if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
|
||||||
static void getvar_has_slot(char *part_name, char *response)
|
static void getvar_has_slot(char *part_name, char *response)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user