Skip to content
Commit 667a3f9d authored by Ole Morten Haaland's avatar Ole Morten Haaland Committed by Carles Cufí
Browse files

qspi: stm32: Add support for reset cmd on init



If the flash is used in 4-byte addressing, reading SFDP will fail after
a system reset if the flash isn't power cycled or hardware reset, since
Zephyr will try to use 3-byte addressing while the flash (still) expects
4-byte addressing.

This commit adds the ability to send a reset command to the flash as part
of initialization, which complements the existing reset-gpio
functionality, and is useful on low-pincount flashes which do not have a
hardware reset.

Signed-off-by: default avatarOle Morten Haaland <omh@icsys.no>
parent d454cc94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment