From 2170480487e3dee8a74204ce346b1b1096a13fd0 Mon Sep 17 00:00:00 2001 From: Joe Schultz Date: Mon, 7 Apr 2014 11:58:18 -0500 Subject: [PATCH] mtd: fsl_ifc_nand: Workaround bogus WP on 16-bit NAND A workaround was already in place that set the WP bit in the IFC_CSPR0 register after a STATUS command, however it used an 8-bit write method. As a result, the WP bit was never set on 16-bit devices, and these devices would eventually be incorrectly marked as write-protected. This patch checks the chip options for a 16-bit device and uses the appropriate write method to set the WP bit after a STATUS command. Signed-off-by: Joe Schultz Signed-off-by: Aaron Sierra Signed-off-by: Brian Norris --- Reading git-format-patch failed