aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/Kconfig
diff options
context:
space:
mode:
authorJaimeLiao <jaimeliao.tw@gmail.com>2022-07-04 14:12:40 +0800
committerJagan Teki <jagan@edgeble.ai>2022-07-18 19:15:19 +0530
commit68ad73b70c7c8f792a2f3a75da49dee343051bf8 (patch)
tree42360dc9569dfc5a111a88ca6dbae16adec5d1ab /drivers/mtd/spi/Kconfig
parentdf3d5f9e410cb7a4936fd8d78b9f7f751b7e130a (diff)
downloadu-boot-68ad73b70c7c8f792a2f3a75da49dee343051bf8.zip
u-boot-68ad73b70c7c8f792a2f3a75da49dee343051bf8.tar.gz
u-boot-68ad73b70c7c8f792a2f3a75da49dee343051bf8.tar.bz2
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>
Diffstat (limited to 'drivers/mtd/spi/Kconfig')
-rw-r--r--drivers/mtd/spi/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index f83876c..096338f 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/drivers/mtd/spi/Kconfig
@@ -97,6 +97,13 @@ config SPI_FLASH_SMART_HWCAPS
can support a type of operation in a much more refined way compared
to using flags like SPI_RX_DUAL, SPI_TX_QUAD, etc.
+config SPI_NOR_BOOT_SOFT_RESET_EXT_INVERT
+ bool "Command extension type is INVERT for Software Reset on boot"
+ default n
+ help
+ Because of SFDP information can not be get before boot.
+ So define command extension type is INVERT when Software Reset on boot only.
+
config SPI_FLASH_SOFT_RESET
bool "Software Reset support for SPI NOR flashes"
help