]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: matsushita-common: Handle DMA completion flag differences
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 2 Jan 2018 18:40:49 +0000 (19:40 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 11 Apr 2018 21:11:58 +0000 (23:11 +0200)
commit7a433aae93c791410f1d5265b205516a77967ec6
tree2e9a32747dfe2a07d0459d2bba90056c416beab3
parent75c27a2137ab75c329c5b1b08b533fbec4b1fe86
mmc: matsushita-common: Handle DMA completion flag differences

The DMA READ completion flag position differs on Socionext and Renesas
SoCs. It is bit 20 on Socionext SoCs and using bit 17 is a hardware bug
and forbidden. It is bit 17 on Renesas SoCs and bit 20 does not work on
them.

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
drivers/mmc/matsushita-common.h