mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
cdc991790c
Timing mode identifier has same role and can take the place of speed mode. This change removes all related speed mode. Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
17 lines
485 B
C
17 lines
485 B
C
#ifndef _MMC_CORE_SD_H
|
|
#define _MMC_CORE_SD_H
|
|
|
|
#include <linux/mmc/card.h>
|
|
|
|
extern struct device_type sd_type;
|
|
|
|
int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
|
|
int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card);
|
|
void mmc_decode_cid(struct mmc_card *card);
|
|
int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
|
|
bool reinit);
|
|
unsigned mmc_sd_get_max_clock(struct mmc_card *card);
|
|
int mmc_sd_switch_hs(struct mmc_card *card);
|
|
|
|
#endif
|