1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-06 19:29:17 +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
2011-01-18 23:38:08 +01:00
2016-04-11 20:48:26 -04:00
2011-10-17 22:25:34 +02: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
2010-05-06 00:17:01 +02:00
2010-05-06 00:17:01 +02:00
2016-02-06 12:00:59 +01:00
2017-04-13 09:41:10 -04:00
2011-09-11 21:24:09 +02:00
2017-08-14 12:47:32 -05:00
2008-08-31 04:24:51 +02:00
2001-04-28 17:59:11 +00:00
2017-07-06 16:17:19 -04:00
2017-06-01 07:03:12 -06:00
2012-10-15 11:53:47 -07:00
2017-10-16 09:42:51 -04:00