Gerlando Falauto 864939949e cmd_sf: add size checking to spi flash commands
SPI flash operations inadvertently stretching beyond the flash size will
result in a wraparound. This may be particularly dangerous when burning
u-boot, because the flash contents will be corrupted rendering the board
unusable, without any warning being issued.
So add a consistency checking so not to overflow past the flash size.

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-03 04:34:13 +00:00
..
2012-05-15 17:32:05 -05:00
2011-10-22 01:22:21 +02:00
2012-03-26 11:00:31 +02:00
2011-04-08 00:44:27 -04:00
2011-07-28 16:41:06 +02:00
2012-06-21 20:53:09 +02:00
2012-07-10 09:18:33 +02:00
2012-03-06 21:09:26 +01:00
2012-03-27 22:05:28 +02:00
2012-05-20 08:32:32 +02:00
2011-07-28 17:22:53 +02:00
2011-10-22 01:13:35 +02:00
2011-12-07 08:41:22 +01:00
2011-02-02 22:36:10 +01:00
2012-07-10 11:35:38 +02:00
2011-10-22 01:13:35 +02:00
2011-12-05 22:48:10 +01:00
2011-09-04 23:27:52 +02:00
2011-10-26 21:33:42 +02:00
2012-05-20 08:32:32 +02:00