]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: When switching partition, use the timeout specified in the ext_csd
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 2 Jul 2019 08:53:55 +0000 (10:53 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 15 Jul 2019 02:16:49 +0000 (10:16 +0800)
commit3698ac448062b0b4219598adafe624d9537b56e9
treeb07c72fa7cfb0d2d2adc19dbb68e9c13751daa77
parentfffb589f7407927b735b4fdf4ae2b3459af91436
mmc: When switching partition, use the timeout specified in the ext_csd

The e-MMC spec allows the e-MMC to specify a timeout for the partition
switch command. It can take up to 2550 ms. There is no lower limit to this
value in the spec, but do as the the linux driver does and force it to be
at least 300ms.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/mmc/mmc.c
include/mmc.h