]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: uniphier-sd: Add support for 64bit controller
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 21 Jul 2017 21:24:33 +0000 (23:24 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 22 Sep 2017 14:23:27 +0000 (23:23 +0900)
commitdddcb7818b5713500da374a4dbefd90948f7d383
tree08c50df12825b24d7668cf5e5c6b3ead4f4a3f22
parent8dd5f159f58b507c7a2dfad7a07b025afd337a9b
mmc: uniphier-sd: Add support for 64bit controller

The Renesas RCar Gen3 contains the same controller, originally
Matsushita, yet the register addresses are shifted by 1 to the
left. The whole controller is also 64bit, including the data
FIFOs and RSP registers. This patch adds support for handling
the register IO by shifting the register offset by 1 in the IO
accessor functions.

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