From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 17 Sep 2012 17:36:24 -0500 Subject: [U-Boot] [PATCH v2 4/4] nand: Make NAND lock status compatible with Micron In-Reply-To: <1345672185-8398-4-git-send-email-joe.hershberger@ni.com> References: <1345235492-15043-1-git-send-email-joe.hershberger@ni.com> <1345672185-8398-1-git-send-email-joe.hershberger@ni.com> <1345672185-8398-4-git-send-email-joe.hershberger@ni.com> Message-ID: <20120917223624.GD26052@buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Aug 22, 2012 at 04:49:45PM -0500, Joe Hershberger wrote: > Micron NAND flash (e.g. MT29F4G08ABADAH4) BLOCK LOCK READ STATUS is not > the same as others. Instead of bit 1 being lock, it is #lock_tight. > To make the driver support either format, ignore bit 1 and use only > bit 0 and bit 2. > > Signed-off-by: Joe Hershberger > --- > Changes in v2: > - Added comment about NAND status work-around > > common/cmd_nand.c | 8 +++++++- > drivers/mtd/nand/nand_util.c | 2 -- > include/nand.h | 1 - > 3 files changed, 7 insertions(+), 4 deletions(-) Applied to u-boot-nand-flash. -Scott