[U-Boot] [PATCH 2/3] sunxi-mmc: don't double clock for new mode unconditionally

Chen-Yu Tsai wens at csie.org
Wed Nov 7 04:15:20 UTC 2018


On Wed, Nov 7, 2018 at 11:59 AM Vasily Khoruzhick <anarsoul at gmail.com> wrote:
>
> Comment in Linux driver says that clock needs to be doubled only
> if we use DDR modes, moreover divider has to be set accordingly.
>
> U-boot driver doesn't declare support for any DDR modes and doesn't
> set divider, so it doubles clock unconditionally when new mode

doesn't set the card clock divider, so the card is running at the module
clock's rate. This would be a bit clearer.

ChenYu

> is used.
>
> Some cards can't handle that and as result SPL fails to load u-boot.


More information about the U-Boot mailing list