diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-11-30 19:10:28 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-12-01 09:41:49 +0100 |
commit | 66de54a761831f2e9f31941fa49c94bfcde5f586 (patch) | |
tree | 8bb2900334d145e0cd02ded11e34296a4867fd75 /fs/minix | |
parent | mtd: spi-nor: factor out write_enable() for erase commands (diff) | |
download | linux-66de54a761831f2e9f31941fa49c94bfcde5f586.tar.xz linux-66de54a761831f2e9f31941fa49c94bfcde5f586.zip |
mtd: nand: gpmi: add gpmi_copy_bits function
Add a new function to copy bits (not bytes) from a memory region to
another one.
This function is similar to memcpy except it acts at bit level.
It is needed to implement GPMI raw access functions and adapt to the
hardware ECC engine which does not pad ECC bits to the next byte boundary.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'fs/minix')
0 files changed, 0 insertions, 0 deletions