]> code.ossystems Code Review - bsp/u-boot.git/commit
fastboot: Implement OEM format only when we have MMC support
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 15 Oct 2015 20:04:04 +0000 (22:04 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 27 Oct 2015 12:24:21 +0000 (10:24 -0200)
commit9a7675b2349d06dfb998095e980b450b9e8e969e
treeba5479088a5bd43997bd02a4bb1243d496d02c77
parenta4338ecfb01cdbb06cc8772c84ef96ac4ce4ebbf
fastboot: Implement OEM format only when we have MMC support

The current fastboot support assumes that CONFIG_FASTBOOT_FLASH implies
that we have an MMC in our system, which might not be the case if we have
some other storage device.

Change the configuration option protecting that call to
FASTBOOT_FLASH_MMC_DEV, that makes much more sense.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/usb/gadget/f_fastboot.c