]> git.sur5r.net Git - u-boot/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)
committerHans de Goede <hdegoede@redhat.com>
Tue, 20 Oct 2015 20:48:28 +0000 (22:48 +0200)
commit4adef27013f76c03596e4fd65193b936943aa50a
treeffde533fe90f4c8ce93e7441b0076c16952752fd
parentbac83fb09c76223a643b858e7dc5061275c3256a
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