mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
mmc: zynq_sdhci: Enable card detect workaround for ZynqMP
Card detect state stable issue is observed on few ZynqMP boards(SOM),
so enable the workaround 'commit b6f44082d5
("mmc: zynq_sdhci: Wait
till sd card detect state is stable")' for ZynqMP platforms also.
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/0bf6154c79f24227d786efc5e2c1f506185b2bce.1645625609.git.michal.simek@xilinx.com
This commit is contained in:
parent
8d32bca205
commit
980e55518f
1 changed files with 1 additions and 1 deletions
|
@ -769,7 +769,7 @@ static int arasan_sdhci_probe(struct udevice *dev)
|
|||
* causing sd card timeout error. Workaround this by adding a wait for
|
||||
* 1000msec till the card detect state gets stable.
|
||||
*/
|
||||
if (IS_ENABLED(CONFIG_ARCH_VERSAL)) {
|
||||
if (IS_ENABLED(CONFIG_ARCH_ZYNQMP) || IS_ENABLED(CONFIG_ARCH_VERSAL)) {
|
||||
u32 timeout = 1000000;
|
||||
|
||||
while (((sdhci_readl(host, SDHCI_PRESENT_STATE) &
|
||||
|
|
Loading…
Reference in a new issue