]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/nand_util.c
mtd, ubi, ubifs: resync with Linux-3.14
[u-boot] / drivers / mtd / nand / nand_util.c
index b292826034f9f3964ae4278ed77314b953bcb761..024f6fb4402485bc6337a00af308e1eeb5a3e013 100644 (file)
@@ -187,6 +187,9 @@ int nand_erase_opts(nand_info_t *meminfo, const nand_erase_options_t *opts)
 
 #ifdef CONFIG_CMD_NAND_LOCK_UNLOCK
 
+#define NAND_CMD_LOCK_TIGHT     0x2c
+#define NAND_CMD_LOCK_STATUS    0x7a
 /******************************************************************************
  * Support for locking / unlocking operations of some NAND devices
  *****************************************************************************/