diff options
author | Samsung OSRC <osrc@samsung.com> | 2013-01-08 23:54:22 +0100 |
---|---|---|
committer | Andrew Dodd <atd7@cornell.edu> | 2013-01-08 21:59:46 -0500 |
commit | da8461692362317a8ffce4d4646953985fcf4e1d (patch) | |
tree | ee2cd8c091f04768bb9d12c019ac9917194d0857 /include/linux/mmc | |
parent | 126b49a7dfaf964d4c82e8b2a70524ef1de27cba (diff) | |
download | kernel_samsung_smdk4412-da8461692362317a8ffce4d4646953985fcf4e1d.tar.gz kernel_samsung_smdk4412-da8461692362317a8ffce4d4646953985fcf4e1d.tar.bz2 kernel_samsung_smdk4412-da8461692362317a8ffce4d4646953985fcf4e1d.zip |
mmc: Soft-patch MoviNAND VTU00M (16GB) eMMC failure
Signed-off-by: Andrei F <luxneb@gmail.com>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/card.h | 2 | ||||
-rw-r--r-- | include/linux/mmc/core.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 942cd59b297..5eb40a97cee 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -16,6 +16,7 @@ struct mmc_cid { unsigned int manfid; char prod_name[8]; + unsigned short prod_rev; unsigned int serial; unsigned short oemid; unsigned short year; @@ -242,6 +243,7 @@ struct mmc_card { unsigned int sd_bus_speed; /* Bus Speed Mode set for the card */ struct dentry *debugfs_root; + unsigned int movi_ops; }; /* diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h index 3d055c36e6a..24bd2d5f2b8 100644 --- a/include/linux/mmc/core.h +++ b/include/linux/mmc/core.h @@ -146,6 +146,8 @@ extern int mmc_wait_for_app_cmd(struct mmc_host *, struct mmc_card *, struct mmc_command *, int); extern int mmc_switch(struct mmc_card *, u8, u8, u8, unsigned int); extern int mmc_send_ext_csd(struct mmc_card *card, u8 *ext_csd); +extern int mmc_start_movi_smart(struct mmc_card *card); +extern int mmc_start_movi_operation(struct mmc_card *card); #define MMC_ERASE_ARG 0x00000000 #define MMC_SECURE_ERASE_ARG 0x80000000 |