diff options
| author | Andrei Warkentin <andreiw@motorola.com> | 2011-04-11 17:13:43 -0400 |
|---|---|---|
| committer | Chris Ball <cjb@laptop.org> | 2011-05-24 21:01:13 -0400 |
| commit | d3a8d95dcbb726b9cf0bbc166b2473bdd236c88c (patch) | |
| tree | 10c6e435f28f6d61562ce54291063913e59dc0b3 /include/linux/mmc | |
| parent | a3c7778f8153b9e4eceea6738973280b9e63c618 (diff) | |
mmc: core: Allow setting CMD timeout for CMD6 (SWITCH).
CMD6 is an R1B-type command, where DAT is used as busy. Depending
on register written using CMD6, timeout value can be different
as per spec.
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc')
| -rw-r--r-- | include/linux/mmc/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h index 811e96e8d1f..f8e4bcbd284 100644 --- a/include/linux/mmc/core.h +++ b/include/linux/mmc/core.h | |||
| @@ -135,6 +135,7 @@ extern void mmc_wait_for_req(struct mmc_host *, struct mmc_request *); | |||
| 135 | extern int mmc_wait_for_cmd(struct mmc_host *, struct mmc_command *, int); | 135 | extern int mmc_wait_for_cmd(struct mmc_host *, struct mmc_command *, int); |
| 136 | extern int mmc_wait_for_app_cmd(struct mmc_host *, struct mmc_card *, | 136 | extern int mmc_wait_for_app_cmd(struct mmc_host *, struct mmc_card *, |
| 137 | struct mmc_command *, int); | 137 | struct mmc_command *, int); |
| 138 | extern int mmc_switch(struct mmc_card *, u8, u8, u8, unsigned int); | ||
| 138 | 139 | ||
| 139 | #define MMC_ERASE_ARG 0x00000000 | 140 | #define MMC_ERASE_ARG 0x00000000 |
| 140 | #define MMC_SECURE_ERASE_ARG 0x80000000 | 141 | #define MMC_SECURE_ERASE_ARG 0x80000000 |
