mtd: spi-nor: Enable QE bit for ISSI flash
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 20 Apr 2020 10:06:06 +0000 (15:36 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 30 Apr 2020 17:04:20 +0000 (22:34 +0530)
commit5bf3f3dd11db4048d7ad60f2ee210dc50da26051
treefa36368d1fe8603edffef141bf7d4b9b9ceeec0d
parente67cd814ee2d00e1b8651bc1cd889ac6f45ed26b
mtd: spi-nor: Enable QE bit for ISSI flash

Enable QE bit for ISSI flash chips.

QE enablement logic is similar to what Macronix
has, so reuse the existing code itself.

Cc: Sagar Shrikant Kadam <sagar.kadam@sifive.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/spi-nor-core.c
include/linux/mtd/spi-nor.h