]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Change mode when switching to a boot partition
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 21 Sep 2017 14:30:09 +0000 (16:30 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:04 +0000 (18:11 +0900)
commit01298da31d92ecc46cf9130d8cff68bc51698197
treed80163eb1f56b262cacedef86b88547b9e1bb803
parent04a2ea248f58b3b6216d0cd0a6b8698df8b14355
mmc: Change mode when switching to a boot partition

Boot partitions do not support HS200. Changing to a lower performance mode
is required to access them.
mmc_select_mode_and_width() and sd_select_mode_and_width() are modified to
make it easier to call them outside of the initialization context.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc.c
include/mmc.h