mmc: Avoid HS400 mode when accessing boot partitions
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 31 May 2019 13:22:44 +0000 (15:22 +0200)
committerPeng Fan <peng.fan@nxp.com>
Wed, 19 Jun 2019 05:53:59 +0000 (13:53 +0800)
commit72119aa14a1c81b5dd2996fc86c80f8d0e2c456d
tree2c8fed40c7905e103a1284f471f56f0286f41fa9
parent77f6e2dd0551d8a825bab391a1bd6b838874bcd4
mmc: Avoid HS400 mode when accessing boot partitions

U-Boot code currently only applies this restriction to HS200 mode,
extend this to HS400 mode as well.

Currently U-Boot code not support accessing boot partition in HS200/400
mode. This needs more check.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jean-Jacques Hiblot <jjhiblot@ti.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/mmc.c