From: Boris BREZILLON Date: Sun, 30 Nov 2014 18:10:28 +0000 (+0100) Subject: mtd: nand: gpmi: add gpmi_copy_bits function X-Git-Tag: omap-for-v3.19/fixes-rc1~56^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66de54a761831f2e9f31941fa49c94bfcde5f586;p=pandora-kernel.git 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 Tested-by: Huang Shijie Signed-off-by: Brian Norris --- Reading git-diff-tree failed