[mmc] Add Field Firmware Upgrade command

Add ffu command for updating eMMC firmware.
The kernel must have support for 2 new ioctls:
MMC_FFU_DOWNLOAD_OP and MMC_FFU_INSTALL_OP.

TEST=Upgrading Hynix eMMC on gnawty
BUG=None

Change-Id: I10b846a56f80b72775da94365c3269571dfa632f
Reviewed-on: https://chromium-review.googlesource.com/206888
Reviewed-by: Puthikorn Voravootivat <puthik@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
4 files changed
tree: 9290c76d790db988bb4521d3d524d196698b3a2f
  1. .gitignore
  2. Android.mk
  3. Makefile
  4. man/
  5. mmc.c
  6. mmc.h
  7. mmc_cmds.c
  8. mmc_cmds.h