]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit36abc6cd9c6b98ad49585eeba2d0e966315a7696
treeda19b6ee7b4bd1fe4054e6f747b60023e9d5a09e
parent202310107864f111a6168fdc9c108b8be64176a1
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: bab20504988f ("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