From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Agner Date: Wed, 14 Oct 2015 09:19:46 -0700 Subject: [U-Boot] [PATCH] mtd: nand: vf610_nfc: resync with upstream Linux version In-Reply-To: <20151014132141.088492da@lilith> References: <1444799502-20472-1-git-send-email-stefan@agner.ch> <20151014132141.088492da@lilith> Message-ID: <66634ebf7a1634b72deb2f70ff0cb00e@agner.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2015-10-14 04:21, Albert ARIBAUD (3ADEV) wrote: > Hello Stefan, > > On Tue, 13 Oct 2015 22:11:42 -0700, Stefan Agner > wrote: >> This resyncs the driver changes with the Linux version of the >> driver. The driver received some feedback in the LKML and got >> recently acceppted, the latest version can be found here: >> https://lkml.org/lkml/2015/9/2/678 >> >> Notable changes are: >> - On ECC error, reread OOB and count bit flips in OOB too. >> If flipped bits are below threshold, also return an empty >> OOB buffer. >> - Return the amount of bit flips in vf610_nfc_read_page. >> - Use endianness aware vf610_nfc_read to read ECC status. >> - Do not enable IDLE IRQ (since we do not operate with an >> interrupt service routine). >> - Use type safe struct for buffer variants (vf610_nfc_alt_buf). >> - Renamed variables in struct vf610_nfc (column and page_sz) >> to reflect better what they really representing. >> >> The U-Boot version currently does not support RAW NAND write >> when using the HW ECC engine. >> >> Signed-off-by: Bhuvanchandra DV >> Signed-off-by: Stefan Agner > > Tested-by: Albert ARIBAUD (3ADEV) > > Works on pcm052. > Hi Albert, Sorry I missed mentioning that: We tested extensively on Colibri VF50 and VF61. I tested briefly on the Vybrid Tower board yesterday, NAND chip is detected properly and read write seems to work. So, you can also add my tested by tag if you wish: Tested-by: Stefan Agner -- Stefan