]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: renesas-sdhi: Handle 16bit IP
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 8 Apr 2018 16:14:22 +0000 (18:14 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 11 Apr 2018 21:11:57 +0000 (23:11 +0200)
commitf874399d3e838530c98168b2553ea4538029d19c
tree8743f8a2d0c90bb97fdb335217bdd0d8d7e953dd
parent70815d2118f3206ce3b873c682568a84a8cf275d
mmc: renesas-sdhi: Handle 16bit IP

The Renesas RCar Gen2 chips have a mix of 32bit and 16bit variants
of the IP. There is no DT property which allows discerning those,
so what Linux does is it checks the size of the register area and
if it is 0x100, the IP is 16bit, otherwise the IP is 32bit. Handle
the distinction the same way.

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