Skip to content
Commit 6d9dee38 authored by Francois Ramu's avatar Francois Ramu Committed by Maureen Helm
Browse files

drivers: flash: stm32 ospi flash driver the correct erase instruction



Use the most adapted instruction for the sector erase command
It can be 0x20 or ox21 or 0x21DE in octo - DTR mode.
The value is given by the SFDP table and  filled in the erase_types
 table the during the SFDP discovery process.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
(cherry picked from commit 01684df0)
parent 719b3380
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment