mtd: spi-nor-core: Adding different type of command extension in Soft Reset
authorJaimeLiao <jaimeliao.tw@gmail.com>
Mon, 4 Jul 2022 06:12:40 +0000 (14:12 +0800)
committerJagan Teki <jagan@edgeble.ai>
Mon, 18 Jul 2022 13:45:19 +0000 (19:15 +0530)
commit68ad73b70c7c8f792a2f3a75da49dee343051bf8
tree42360dc9569dfc5a111a88ca6dbae16adec5d1ab
parentdf3d5f9e410cb7a4936fd8d78b9f7f751b7e130a
mtd: spi-nor-core: Adding different type of command extension in Soft Reset

Power-on-Reset is a method to restore flash back to 1S-1S-1S mode from 8D-8D-8D
in the begging of probe.

Command extension type is not standardized across flash vendors in DTR mode.

For suiting different vendor flash devices, adding a flag to seperate types for
soft reset on boot.

Signed-off-by: JaimeLiao <jaimeliao.tw@gmail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/Kconfig
drivers/mtd/spi/spi-nor-core.c