[U-Boot] [PATCH v2 1/4] nand: Add support for unlock.invert

Joe Hershberger joe.hershberger at gmail.com
Tue Sep 18 21:22:17 CEST 2012


Hi Scott,

On Mon, Sep 17, 2012 at 5:35 PM, Scott Wood <scottwood at freescale.com> wrote:
> On Wed, Aug 22, 2012 at 04:49:42PM -0500, Joe Hershberger wrote:
>> NAND unlock command allows an invert bit to be set to unlock all but
>> the selected page range.
>>
>> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
>> ---
>> Changes in v2:
>> - Changed invert to allexcept
>> - Changed unlock printf to debug print
>> - Dropped cast in unlock debug print
>>
>>  common/cmd_nand.c            | 13 ++++++++++---
>>  drivers/mtd/nand/nand_util.c | 10 +++++++---
>>  include/nand.h               |  4 ++--
>>  3 files changed, 19 insertions(+), 8 deletions(-)
>
> Applied to u-boot-nand-flash with the diff below.  Do you know if all
> chips that support locking support the invert bit?  If not, we should at
> least update the documentation to mention this (though runtime detection
> would be good if practical).

I'm not aware of a part that supports lock and not the invert
functionality.  I'm also not aware of a way to detect at runtime if it
is supported.

Thanks,
-Joe


More information about the U-Boot mailing list