]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: Do not poll using CMD13 when changing timing
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 6 Feb 2019 10:34:27 +0000 (11:34 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 9 Feb 2019 10:08:40 +0000 (11:08 +0100)
commite3d15ce1f0fa9d63b5b1bede23da6279962dfb9d
treeb520ab585c5940a7c7b61e394c93e25d9ca2466c
parente47f3126cbc81c98f6f60d51605405a9680ed4d2
mmc: Do not poll using CMD13 when changing timing

When using CMD6 to switch eMMC card timing from HS200/HS400 to HS/legacy,
do not poll for the completion status using CMD13, but rather wait 50mS.

Once the card receives the CMD6 and starts executing it, the bus is in
undefined state until both the card finishes executing the command and
until the controller switches the bus to matching timing configuration.
During this time, it is not possible to transport any commands or data
across the bus, which includes the CMD13.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc.c