mtd: spi-nor-core: Enable octal DTR mode when possible
authorPratyush Yadav <p.yadav@ti.com>
Fri, 25 Jun 2021 19:17:21 +0000 (00:47 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 Jun 2021 06:33:57 +0000 (12:03 +0530)
commit6b808e0864dbd492d33e7149fb1666bef7e56049
tree70fd5cda84efb3648a8cb42de05e235f874b6ff5
parentb862765c7c9a64640ce557bc10a10b4f20e8584b
mtd: spi-nor-core: Enable octal DTR mode when possible

Allow flashes to specify a hook to enable octal DTR mode. Use this hook
whenever possible to get optimal transfer speeds.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/spi-nor-core.c
include/linux/mtd/spi-nor.h