fastboot: getvar: correct/rename "has_slot" to "has-slot"
authorEugeniu Rosca <erosca@de.adit-jv.com>
Tue, 26 Mar 2019 16:46:14 +0000 (17:46 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 21 Apr 2019 08:26:51 +0000 (10:26 +0200)
commit4c829466fcc8c0b5303af6bda21366657b959a30
treeda19b6ee7b4bd1fe4054e6f747b60023e9d5a09e
parentcbc1081da00923eed4c73bf28b51f9a01ea5d043
fastboot: getvar: correct/rename "has_slot" to "has-slot"

Since its inception in upstream fastboot android-n-preview-1 [1],
"has-slot" option has never taken the form of "has_slot". Amongst the
users of "getvar has-slot:" is the upstream bootloadertest.py [2].

Current U-Boot "has_slot" version must be a typo. Fix it.

[1] https://android.googlesource.com/platform/system/core/+/a797479bd51c
    ("Fix fastboot variable name")
[2] https://android.googlesource.com/platform/system/extras/+/72de393e118e3
    ("Bootloader verification for AndroidThings.")

Fixes: f73a7df984a9 ("net: fastboot: Merge AOSP UDP fastboot")
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Acked-by: Alex Kiernan <alex.kiernan@gmail.com>
drivers/fastboot/fb_getvar.c