stm32: flash: ospi: Fix erase if flash is larger than 16MB
Opcodes for erase is taken from jedec basic flash parameter table
These expects 3 byte addresses.
When running with 4 byte addresses, opcodes to be used shall be taken
from JEDEC 4-byte Address Instruction Parameter table
Signed-off-by:
Brian Juel Folkmann <bju@trackunit.com>
Loading
Please sign in to comment