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 <ota...@ossystems.com.br>
> ---

[...]

> @@ -413,6 +424,11 @@ out:
>                       while ((esdhc_read32(&regs->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(&regs->irqstat, -1);
[...]
Best regards,
Marek Vasut
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to