diff options
author | Marc-André Hébert <hebert.marcandre@gmail.com> | 2010-08-10 09:02:09 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-06 20:50:38 -0400 |
commit | c3cb09207f8765dddc67298b08f1f0796c1b98db (patch) | |
tree | aaca5bcfc454bc740a6470bc39d58e2b804942d0 /drivers/mtd/spr_smi.c | |
parent | 74f9e0d8a0e1fa73af43e93b0b67985db973b1ed (diff) | |
download | u-boot-imx-c3cb09207f8765dddc67298b08f1f0796c1b98db.zip u-boot-imx-c3cb09207f8765dddc67298b08f1f0796c1b98db.tar.gz u-boot-imx-c3cb09207f8765dddc67298b08f1f0796c1b98db.tar.bz2 |
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: Marc-Andre Hebert <marc-andre.hebert@humanware.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/mtd/spr_smi.c')
0 files changed, 0 insertions, 0 deletions