• Avi Shchislowski's avatar
    mmc_utils: add ffu support · 89cd01ed
    Avi Shchislowski authored
    
    
    Adding support for field firmware update over multiple command ioctl.
    As multiple command ioctl is supported only from kernel 4.4, this patch
    should be used against kernel 4.4 and above.
    
    Known issues:
    - There is no support for Multiple Block write commands (CMD25) in existing
      IOCTL implementation
    - In case MODE_OPERATION_CODES field is not supported by the device
      manual reset of the device/platform is required.
      The reset issue discussed in another email thread - " [RFC 0/6] mmc:
      Field Firmware Update"
    Signed-off-by: default avatarYaniv Agman <yaniv.agman@sandisk.com>
    Signed-off-by: default avatarAvi Shchislowski <avi.shchislowski@sandisk.com>
    Signed-off-by: default avatarChris Ball <chris@printf.net>
    89cd01ed
mmc_cmds.c 57 KB