[PATCH] mmc-utils: Support sending Samsung eMMC 4.5 FFU

2014-04-04 Thread Seunguk Shin
s: Support-sending-eMMC-v5.0 committed by Avi Shchislowski and mmc: Support FFU for Samsung eMMC v4.5 committed by Seunguk Shin --- mmc.c | 5 mmc.h | 1 + mmc_cmds.c | 87 ++ mmc_cmds.h | 1 + 4 files changed, 94

[PATCH] mmc: sdhci: remove delay during tuning command for mmc

2014-04-04 Thread Seunguk Shin
This change removes delay during tuning command for mmc. Because mmc does not need delay between tuning commands, and it could cause performance degradation. --- drivers/mmc/host/sdhci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/h

[PATCH] mmc: Support FFU for Samsung eMMC v4.5

2014-04-04 Thread Seunguk Shin
This change adds support to field firmware update (ffu) for Samsung emmc v4.5. Samsung eMMC 4.5 FFU protocol is similar with eMMC 5.0 FFU without MODE_OPERATION. It uses the different EXT_CSD offset. This patch depends on patch mmc: Support-FFU-for-eMMC-v5.0 committed by Avi Shchislowski --- d

[PATCH] mmc: Support FFU for eMMC v5.0 for Samsung

2014-04-04 Thread Seunguk Shin
This change adds support to field firmware update (ffu) for Samsung emmc v5.0 Some of Samsung eMMC does not show the argument for ffu in ext_csd. In case of this, eMMC shows 0x0 from ext_csd, Host has to modify the argument. And ffu for Samsung eMMC should transfer f/w through not multiple comman

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

2014-04-01 Thread Seunguk Shin
Dear. Jaehoon I mentioned 3 items. One is for only Samsung emmc (argument for ffu) The others are for general emmc I'll make a separated patch for first item. But, the others should be applied to this patch. Thank you. Best Regards, Seunguk Shin > > Dear, Grant. > > On 04

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

2014-03-31 Thread Seunguk Shin
Some of Samsung eMMC does not show the argument for ffu in ext_csd. In case of this, eMMC shows 0x0 from ext_csd, Host has to modify the argument. Add "#define CID_MANFID_SAMSUNG 0x15" > +int mmc_ffu_download(struct mmc_card *card, struct mmc_command *cmd, > + u8 *data, int buf_byte