diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2013-02-08 09:27:19 +0000 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-02-22 19:06:34 -0600 |
commit | fcecb4a52c780d5fa7e8781db7ef5440aff0b48c (patch) | |
tree | 7ee6c4291d201a85e48fd473cec8b251997ff39d /include/usb_defs.h | |
parent | ced199dc858d57e807d3ec2a511c4bd9a4bd8765 (diff) | |
download | u-boot-imx-fcecb4a52c780d5fa7e8781db7ef5440aff0b48c.zip u-boot-imx-fcecb4a52c780d5fa7e8781db7ef5440aff0b48c.tar.gz u-boot-imx-fcecb4a52c780d5fa7e8781db7ef5440aff0b48c.tar.bz2 |
mtd: nand: Check if NAND is locked tight before lock cmds
If the NAND is locked tight, commands such as lock and unlock will not
work, but the NAND chip may not report an error. Check the lock tight
status before attempting such operations so that an error status can be
reported if we know the operation will not succeed.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/usb_defs.h')
0 files changed, 0 insertions, 0 deletions