]> git.dujemihanovic.xyz Git - u-boot.git/commit
fastboot: fix fastboot_set_reboot_flag()
authorRoman Stratiienko <r.stratiienko@gmail.com>
Sat, 8 May 2021 22:25:24 +0000 (01:25 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 28 Jan 2022 15:11:54 +0000 (10:11 -0500)
commit51566bc8c37205d73f45ee97409063fedc1cdfd8
treea36188bfa7064d9a54e2ab2ead4b10d62c73d809
parent761a1786e125ce0e2f472f25f2b841d5f4e2f0cb
fastboot: fix fastboot_set_reboot_flag()

In case CONFIG_FASTBOOT_FLASH_MMC_DEV == 0, compile-time condition
is not met and fastboot_set_reboot_flag() fails.

Fixes: a362ce214f03 ("fastboot: Implement generic fastboot_set_reboot_flag")
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
drivers/fastboot/fb_common.c