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

Jagan Teki jagan at amarulasolutions.com
Thu Nov 22 07:52:33 UTC 2018


On Sat, Nov 10, 2018 at 10:13 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 internal clock divider in CLKCR, so it doubles clock
> unconditionally when new mode is used.
>
> Some cards can't handle that and as result SPL fails to load u-boot.
>
> Fixes: de9b1771c3b ("mmc: sunxi: Support new mode")
> Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
> ---

Applied to u-boot-sunxi/master


More information about the U-Boot mailing list