]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: tmio: sdhi: Add DMA transfer address alignment check at writing
authorHiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Sat, 7 Mar 2020 16:32:59 +0000 (17:32 +0100)
committerPeng Fan <peng.fan@nxp.com>
Tue, 21 Apr 2020 02:12:15 +0000 (10:12 +0800)
commit9616881475f85f7b6edebab6e3185618ddc0b53a
treee9f727d7773d2a63ed2cf1b1ba0d7052b8866b68
parent197e0f8e4847c5202db57d0f1a80d5813119ea38
mmc: tmio: sdhi: Add DMA transfer address alignment check at writing

In R-Car Gen 3, there is a DMA controller restriction of SDHI.
When the transfer exceeding the 4 kByte boundary is performed while
the DRAM address is not 128 byte aligned, the bus is occupied.
This patch avoids this.

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