From 66de54a761831f2e9f31941fa49c94bfcde5f586 Mon Sep 17 00:00:00 2001 From: Boris BREZILLON Date: Sun, 30 Nov 2014 19:10:28 +0100 Subject: [PATCH] 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-format-patch failed