diff options
author | Hou Zhiqiang <B48286@freescale.com> | 2015-05-21 15:32:40 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-05-22 02:02:16 (GMT) |
commit | b207d2c887415a6b501249f3c3f067f266cc8b86 (patch) | |
tree | 886aefb72895100ae0607624d3dc12b83f238c48 | |
parent | 3be643b5c235100cde3580186419ac8661f97fba (diff) | |
download | linux-fsl-qoriq-b207d2c887415a6b501249f3c3f067f266cc8b86.tar.xz |
spi-nor: Add the SPI Flash RESET commands
Signed-off-by: Hou Zhiqiang <B48286@freescale.com>
Change-Id: I1ec25215b53c3edd542c2afb5d6cc820ef2de041
Reviewed-on: http://git.am.freescale.net:8181/36724
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
-rw-r--r-- | include/linux/mtd/spi-nor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h index bde191c..c3d6651 100644 --- a/include/linux/mtd/spi-nor.h +++ b/include/linux/mtd/spi-nor.h @@ -38,6 +38,8 @@ #define SPINOR_OP_RDID 0x9f /* Read JEDEC ID */ #define SPINOR_OP_RDCR 0x35 /* Read configuration register */ #define SPINOR_OP_RDFSR 0x70 /* Read flag status register */ +#define SPINOR_OP_RESET_EN 0x66 /* Reset enable */ +#define SPINOR_OP_RESET_MEM 0x99 /* Reset memory */ /* 4-byte address opcodes - used on Spansion and some Macronix flashes. */ #define SPINOR_OP_READ4 0x13 /* Read data bytes (low frequency) */ |