Mike Frysinger wrote:
> 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: Mike Frysinger <vap...@gentoo.org>
> CC: Mingkai Hu <mingkai...@freescale.com>
> CC: Haavard Skinnemoen <haavard.skinnem...@atmel.com>

Yes, that's much better. But perhaps you should pass the last two bytes
to the debug() call a bit further down too?

I guess it's not essential though, so

Acked-by: Haavard Skinnemoen <haavard.skinnem...@atmel.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to