diff options
author | Brian Norris <computersforpeace@gmail.com> | 2016-05-06 08:37:41 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-05-10 15:44:18 -0700 |
commit | e5366a266a8cd4cd6b0fe66876462cca2e1c6a89 (patch) | |
tree | ea7f4614fa52215c93695fa85c0e8cab28b6d839 /include/linux/mtd | |
parent | 3603ea0aeed7dc2b54144b5913eb303173361123 (diff) | |
download | op-kernel-dev-e5366a266a8cd4cd6b0fe66876462cca2e1c6a89.zip op-kernel-dev-e5366a266a8cd4cd6b0fe66876462cca2e1c6a89.tar.gz |
mtd: spi-nor: support GigaDevice gd25lq64c
Also note the GigaDevice JEDEC ID.
No write-protect support yet, since this flash uses a different status
register layout.
Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/spi-nor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h index 3c36113..7f041bd 100644 --- a/include/linux/mtd/spi-nor.h +++ b/include/linux/mtd/spi-nor.h @@ -21,6 +21,7 @@ * Sometimes these are the same as CFI IDs, but sometimes they aren't. */ #define SNOR_MFR_ATMEL CFI_MFR_ATMEL +#define SNOR_MFR_GIGADEVICE 0xc8 #define SNOR_MFR_INTEL CFI_MFR_INTEL #define SNOR_MFR_MICRON CFI_MFR_ST /* ST Micro <--> Micron */ #define SNOR_MFR_MACRONIX CFI_MFR_MACRONIX |