From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 17 Feb 2015 08:11:27 +0100 Subject: [U-Boot] [PATCH 1/4] mmc: fsl_esdhc: Add CMD11 support to switch to 1.8V In-Reply-To: <1424122683-29357-1-git-send-email-otavio@ossystems.com.br> References: <1424122683-29357-1-git-send-email-otavio@ossystems.com.br> Message-ID: <201502170811.28031.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, February 16, 2015 at 10:38:00 PM, Otavio Salvador wrote: > This adds support to switch to 1.8V in case CMD11 succeeds. > > Signed-off-by: Otavio Salvador > --- [...] > @@ -413,6 +424,11 @@ out: > while ((esdhc_read32(®s->sysctl) & SYSCTL_RSTD)) > ; > } > + > + /* If this was CMD11, then notify that power cycle is needed */ > + if (cmd->cmdidx == SD_CMD_SWITCH_UHS18V) > + printf("CMD11 to switch to 1.8V mode failed." > + "Card requires power cycle\n"); Please avoid breaking strings, you cannot 'git grep' for them if they're broken. > } > > esdhc_write32(®s->irqstat, -1); [...] Best regards, Marek Vasut