Skip to content
Snippets Groups Projects
Commit 0dcdbb17 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

sf: always read 5 bytes for the idcode


Some SPI flash drivers like to have extended id information available
(like the spansion flash), so rather than making it re-issue the ID cmd
to get at the last 2 bytes, have the common code read 5 bytes rather than
just 3.  This also matches the Linux behavior where it always reads 5 id
bytes from all flashes.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
CC: Mingkai Hu <Mingkai.hu@freescale.com>
parent 9726ba4a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment