summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <[email protected]>2016-12-12 08:34:42 +0100
committerStefan Roese <[email protected]>2017-01-25 07:03:39 +0100
commit899fb9e352815ef5a5d9304a097d5abc7c476500 (patch)
tree0bee9781e7ef772dea3981781de8de59f2b7d77a /include
parentf2b0c007f84e582b7a101bd49db60cc8d75f5de4 (diff)
mmc: sdhci: Clear SDHCI_CLOCK_CONTROL before configuring the new value
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 <[email protected]> Cc: Jaehoon Chung <[email protected]> Cc: Siva Durga Prasad Paladugu <[email protected]> Cc: Michal Simek <[email protected]> Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions