From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 08/12] mmc: revert mmc: Handle switch error status bit in MMC card status
Date: Tue, 7 Jun 2016 08:31:21 +0200 [thread overview]
Message-ID: <1465281085-10481-9-git-send-email-hs@denx.de> (raw)
In-Reply-To: <1465281085-10481-1-git-send-email-hs@denx.de>
revert patch:
commit: 6b2221b008e0: mmc: Handle switch error status bit in MMC card status
to get eMMC working on shc board
Signed-off-by: Heiko Schocher <hs@denx.de>
---
Changes in v3: None
Changes in v2: None
drivers/mmc/mmc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 94f19ad..7586558 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -155,8 +155,6 @@ int mmc_send_status(struct mmc *mmc, int timeout)
#endif
return TIMEOUT;
}
- if (cmd.response[0] & MMC_STATUS_SWITCH_ERROR)
- return SWITCH_ERR;
return 0;
}
@@ -516,7 +514,7 @@ static int mmc_change_freq(struct mmc *mmc)
err = mmc_switch(mmc, EXT_CSD_CMD_SET_NORMAL, EXT_CSD_HS_TIMING, 1);
if (err)
- return err == SWITCH_ERR ? 0 : err;
+ return err;
/* Now check to see that it worked */
err = mmc_send_ext_csd(mmc, ext_csd);
--
2.5.5
next prev parent reply other threads:[~2016-06-07 6:31 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-07 6:31 [U-Boot] [PATCH v3 00/12] am335x: add support for the am335x based bosch shc board Heiko Schocher
2016-06-07 6:31 ` [U-Boot] [PATCH v3 01/12] common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option Heiko Schocher
2016-06-08 2:54 ` Viresh Kumar
2016-06-08 8:52 ` Igor Grinberg
2016-06-09 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:31 ` [U-Boot] [PATCH v3 02/12] tests: py: disable main_signon check for printenv cmd Heiko Schocher
2016-06-09 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:31 ` [U-Boot] [PATCH v3 03/12] power, tps65217: add some defines Heiko Schocher
2016-06-09 18:02 ` [U-Boot] [U-Boot,v3,03/12] " Tom Rini
2016-06-07 6:31 ` [U-Boot] [PATCH v3 04/12] arm, am335x: add some missing GPIO register definitions Heiko Schocher
2016-06-09 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:31 ` [U-Boot] [PATCH v3 05/12] am335x: add some missing CM_CLKMODE_DPLL_SSC macros Heiko Schocher
2016-06-09 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:31 ` [U-Boot] [PATCH v3 06/12] arm, am335x: Enable Spread Spectrum for the MPU Heiko Schocher
2016-06-09 18:03 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:31 ` [U-Boot] [PATCH v3 07/12] bootstage: call show_boot_progress also in SPL Heiko Schocher
2016-06-09 18:03 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:31 ` Heiko Schocher [this message]
2016-06-09 18:03 ` [U-Boot] [U-Boot, v3, 08/12] mmc: revert mmc: Handle switch error status bit in MMC card status Tom Rini
2016-06-07 6:31 ` [U-Boot] [PATCH v3 09/12] mmc: omap_hsmmc: enable 8bit interface for eMMC for AM33xx Heiko Schocher
2016-06-08 8:53 ` Igor Grinberg
2016-06-09 18:03 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:31 ` [U-Boot] [PATCH v3 10/12] armv7: omap-common: make SPL board_mmc_init() weak Heiko Schocher
2016-06-09 18:03 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:31 ` [U-Boot] [PATCH v3 11/12] doc, spl, am335x: update am335x-network Heiko Schocher
2016-06-09 18:03 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-06-07 6:31 ` [U-Boot] [PATCH v3 12/12] am335x, shc: add support for the am335x based bosch shc board Heiko Schocher
2016-06-09 18:03 ` [U-Boot] [U-Boot, v3, " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465281085-10481-9-git-send-email-hs@denx.de \
--to=hs@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox