mtd: spinand: gigadevice: Add QE Bit
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 20 Aug 2020 16:51:20 +0000 (18:51 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 30 Sep 2020 14:44:16 +0000 (16:44 +0200)
commitaea7687e77bebce5b67fab9d03347bd8df7933c7
treefd1768c764bf15f57148d47173b1153c58895917
parent6387ad9caf8f09747a8569e5876086b72ee9382c
mtd: spinand: gigadevice: Add QE Bit

The following GigaDevice chips have the QE BIT in the feature flags, I
checked the datasheets, but did not try this.
* GD5F1GQ4xExxG
* GD5F1GQ4xFxxG
* GD5F1GQ4UAYIG
* GD5F4GQ4UAYIG

The Quad operations like 0xEB mention that the QE bit has to be set.

Fixes: c93c613214ac ("mtd: spinand: add support for GigaDevice GD5FxGQ4xA")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Chuanhong Guo <gch981213@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200820165121.3192-3-hauke@hauke-m.de
drivers/mtd/nand/spi/gigadevice.c