platform/msm_shared/mmc.c
static unsigned int mmc_boot_reset_cards(void)
{
	struct mmc_boot_command cmd;

	memset((struct mmc_boot_command *)&cmd, 0,
	       sizeof(struct mmc_boot_command));

	cmd.cmd_index = CMD0_GO_IDLE_STATE;
	cmd.argument = 0;	// stuff bits - ignored
	cmd.cmd_type = MMC_BOOT_CMD_BCAST;
	cmd.resp_type = MMC_BOOT_RESP_NONE;

	/* send command */
	return mmc_boot_send_command(&cmd);
}
/*
 * Reset all the cards to idle condition (CMD 0)
 */
Reset all the cards to idle condition (CMD 0)
Reset all the cards to idle condition ( CMD 0 )
static unsigned int mmc_boot_reset_cards(void)
{
	struct mmc_boot_command cmd;
	memset((struct mmc_boot_command *)&cmd, 0,
	       sizeof(struct mmc_boot_command));
	cmd.cmd_index = CMD0_GO_IDLE_STATE;
	cmd.argument = 0;	
	cmd.cmd_type = MMC_BOOT_CMD_BCAST;
	cmd.resp_type = MMC_BOOT_RESP_NONE;
	return mmc_boot_send_command(&cmd);
}
static unsigned int mmc_boot_reset_cards ( void ) { struct mmc_boot_command cmd ; memset ( ( struct mmc_boot_command * ) & cmd , 0 , sizeof ( struct mmc_boot_command ) ) ; cmd . cmd_index = CMD0_GO_IDLE_STATE ; cmd . argument = 0 ; cmd . cmd_type = MMC_BOOT_CMD_BCAST ; cmd . resp_type = MMC_BOOT_RESP_NONE ; return mmc_boot_send_command ( & cmd ) ; }
Reset all the cards to idle condition (CMD 0)
Reset all the cards to idle condition ( CMD 0 )
// stuff bits - ignored /* send command */