1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-06 10:39:18 +01:00
Files
u-boot-megous/include/linux
Masahiro Yamada 436fb2b84d mtd: nand: allow drivers to request minimum alignment for passed buffer
In some cases, nand_do_{read,write}_ops is passed with unaligned
ops->datbuf.  Drivers using DMA will be unhappy about unaligned
buffer.

The new struct member, buf_align, represents the minimum alignment
the driver require for the buffer.  If the buffer passed from the
upper MTD layer does not have enough alignment, nand_do_*_ops will
use bufpoi.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>

[Linux commit: 477544c62a84d3bacd9f90ba75ffc16c04d78071]
2017-11-29 00:28:59 +09:00
..
2016-01-19 08:31:21 -05:00
2016-04-11 20:48:26 -04:00
2016-01-19 08:31:21 -05:00
2017-07-06 16:17:19 -04:00
2016-01-19 08:31:21 -05:00
2016-02-06 12:00:59 +01:00
2017-04-13 09:41:10 -04:00
2017-08-14 12:47:32 -05:00
2017-07-06 16:17:19 -04:00
2017-06-01 07:03:12 -06:00
2017-10-16 09:42:51 -04:00