[RFC PATCH 0/1] mmc: Support-FFU-for-eMMC-v5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add Support to Field Firmware Update (FFU) for eMMC v5.0 and up devices.
 
  The code implemented according to  JEDEC eMMC spec - JESD84-B50.pdf
  http://www.jedec.org/standards-documents/technology-focus-areas/flash-memory-ssds-ufs-emmc/e-mmc
  
  The FFU code in driver should be called by the IOCTL interface.
  
  FFU code is divided to two logical parts:
  
  1. FFU Download firmware - transfer FW Image data to the eMMC device
  2. FFU install - Complete new FW installation. Implemented according to MODE_OPERATION_CODES field in EXT_CSD register:
     a. Host sets FFU_INSTALL
   or
     b. Host set MODE_CONFIG to normal and send card_init

Signed-off-by: Avi Shchislowski <avi.shchislowski@xxxxxxxxxxx>
Signed-off-by: Alex Lemberg <alex.lemberg@xxxxxxxxxxx>

 drivers/mmc/card/Kconfig  |    8 +
 drivers/mmc/card/Makefile |    1 +
 drivers/mmc/card/block.c  |   12 +
 drivers/mmc/card/ffu.c    |  605 +++++++++++++++++++++++++++++++++++++++++++++
 include/linux/mmc/ffu.h   |   63 +++++
 include/linux/mmc/mmc.h   |    9 +
 6 files changed, 698 insertions(+), 0 deletions(-)  create mode 100644 drivers/mmc/card/ffu.c  create mode 100644 include/linux/mmc/ffu.h

--
1.7.5.4


--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux