[U-Boot] [PATCH 1/9] mmc: sdhci: Clear SDHCI_CLOCK_CONTROL before configuring the new value

Stefan Roese sr at denx.de
Wed Jan 25 08:43:20 CET 2017


On 19.01.2017 08:39, Stefan Roese wrote:
> This patch completely clears the SDHCI_CLOCK_CONTROL register before the
> new value is configured instead of just clearing the 2 bits
> SDHCI_CLOCK_CARD_EN and SDHCI_CLOCK_INT_EN. Without this change, some
> clock configurations will lead to the "Internal clock never stabilised."
> error message on the Xenon SDHCI controller used on the Marvell Armada
> 3700 and 7k/8k ARM64 SoCs.
>
> The Linux SDHCI core driver also writes 0 to this register before
> the new value is configured. So this patch simplifies the driver a bit
> and brings the U-Boot driver more in-line with the Linux one.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Jaehoon Chung <jh80.chung at samsung.com>
> Cc: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
> Cc: Michal Simek <michal.simek at xilinx.com>

Whole series applied to u-boot-marvell/master

Thanks,
Stefan


More information about the U-Boot mailing list