]> git.sur5r.net Git - u-boot/commit
NAND: Enable nand lock, unlock feature
authorNishanth Menon <menon.nishanth@gmail.com>
Sat, 13 Dec 2008 15:43:06 +0000 (09:43 -0600)
committerScott Wood <scottwood@freescale.com>
Fri, 23 Jan 2009 16:32:49 +0000 (10:32 -0600)
commit50657c273278f74378e1ac39b41d612b92fdffa0
tree2f4eb445a4aeddfe91737b889cda979fa1ba693f
parent69fb8be4fc07162fdf6edf04bdc7233b0e9a920e
NAND: Enable nand lock, unlock feature

Enable nand lock, unlock and status of lock feature.
Not every device and platform requires this, hence,
it is under define for CONFIG_CMD_NAND_LOCK_UNLOCK

Nand unlock and status operate on block boundary instead
of page boundary. Details in:
http://www.micron.com/products/partdetail?part=MT29C2G24MAKLAJG-6%20IT

Intial solution provided by Vikram Pandita <vikram.pandita@ti.com>
Includes preliminary suggestions from Scott Wood

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
common/cmd_nand.c
drivers/mtd/nand/nand_util.c