Compare commits
3 Commits
cherry-781
...
cherry-822
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33e347441f | ||
|
|
f3a162b9cb | ||
|
|
093b6347fc |
@@ -750,7 +750,7 @@ static int mmc_send_op_cond(struct mmc *mmc)
|
|||||||
{
|
{
|
||||||
int err, i;
|
int err, i;
|
||||||
int timeout = 1000;
|
int timeout = 1000;
|
||||||
uint start;
|
ulong start;
|
||||||
|
|
||||||
/* Some cards seem to need this */
|
/* Some cards seem to need this */
|
||||||
mmc_go_idle(mmc);
|
mmc_go_idle(mmc);
|
||||||
@@ -844,7 +844,8 @@ int mmc_send_ext_csd(struct mmc *mmc, u8 *ext_csd)
|
|||||||
static int __mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value,
|
static int __mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value,
|
||||||
bool send_status)
|
bool send_status)
|
||||||
{
|
{
|
||||||
unsigned int status, start;
|
ulong start;
|
||||||
|
unsigned int status;
|
||||||
struct mmc_cmd cmd;
|
struct mmc_cmd cmd;
|
||||||
int timeout_ms = DEFAULT_CMD6_TIMEOUT_MS;
|
int timeout_ms = DEFAULT_CMD6_TIMEOUT_MS;
|
||||||
bool is_part_switch = (set == EXT_CSD_CMD_SET_NORMAL) &&
|
bool is_part_switch = (set == EXT_CSD_CMD_SET_NORMAL) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user