mmc: tmio: Configure HOST_MODE WMODE according to bus width
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 14 Feb 2019 14:16:24 +0000 (15:16 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 16 Feb 2019 17:12:17 +0000 (18:12 +0100)
commit4c80f111c06f9aa258b9e55db1ee99572428c105
tree617b8b7bc14bc5341d4db92dbdd860b9c96b9db1
parentfceea9926804c8e72bdcde27bf64bebedcf0a754
mmc: tmio: Configure HOST_MODE WMODE according to bus width

Set the HOST_MODE register WMODE bit according to the SDHI bus width,
that is 0 for 64bit bus and 1 for 16/32bit bus.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/tmio-common.c