Skip to content
Commit c3cb0920 authored by Marc-André Hébert's avatar Marc-André Hébert Committed by Mike Frysinger
Browse files

sf: spansion: fixing erasing when sector size >64KiB



The spansion_erase currently only works when the sector size is 64KB.
cmd[1] should contain the higher 8 bit of the 24 bit address of the
sector to be erased. Currently it is holding the sector index to be
erased which happens to be the same thing when the sector size is
64KB.

Signed-off-by: default avatarMarc-Andre Hebert <marc-andre.hebert@humanware.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 74f9e0d8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment