]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: uniphier: Factor out FIFO accessors
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 8 Apr 2018 15:14:42 +0000 (17:14 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 11 Apr 2018 21:11:56 +0000 (23:11 +0200)
commit12a510e23fecbd4a7697595c0d9ca24d8ce3407c
tree0c1252f9f373f6871c3aa69a62975d1d163fb5f3
parent33f65ec83ec1989e33f6510e3d9b094b863585ef
mmc: uniphier: Factor out FIFO accessors

Add macros to generate the FIFO accessors, since the code is almost
the same with only minor differences. This is done in preparation
for adding 16bit variant of the IP.

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/matsushita-common.c