summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-11-30 19:10:28 +0100
committerBrian Norris <computersforpeace@gmail.com>2014-12-01 00:41:49 -0800
commit66de54a761831f2e9f31941fa49c94bfcde5f586 (patch)
tree8bb2900334d145e0cd02ded11e34296a4867fd75 /include
parent05241aead9b98c28476f74e7e1c5ce480ef40ac1 (diff)
downloadop-kernel-dev-66de54a761831f2e9f31941fa49c94bfcde5f586.zip
op-kernel-dev-66de54a761831f2e9f31941fa49c94bfcde5f586.tar.gz
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 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud