marius 8573447bb6 - Loop up to 3 seconds when waiting for a device to get ready. [1]
- Make the device description match the driver name.
- Identify the chip variant based on the JEDEC and use that information
  to use the proper values for page count, offset and size instead of
  hardcoding a AT45DB642x with 2^N byte page support disabled.
- Take advantage of bioq_takefirst().
- Given that CONTINUOUS_ARRAY_READ_HF (0x0b) command isn't even mentioned
  in Atmel's DataFlash Application Note, as suggested by the previous
  comment may not work on all all devices and actually doesn't properly
  on at least AT45DB321D (JEDEC 0x1f2701), rewrite at45d_task() to use
  CONTINUOUS_ARRAY_READ (0xe8) for reading instead. This rewrite is laid
  out in a way allowing to easily add support for BIO_DELETE later on.
- Add support for reads and writes not starting on a page boundary.
- Verify the flash content after writing.
- Let at45d_task() gracefully handle errors on SPI transfers and the
  device not becoming ready afterwards again. [1]
- Use DEVMETHOD_END. [1]
- Use NULL instead of 0 for pointers. [1]

Additional testing by:	Ian Lepore

Submitted by:	Ian Lepore [1]
MFC after:	1 week
2012-06-03 01:00:55 +00:00
..
2012-03-12 20:31:58 +00:00
2012-04-04 21:09:02 +00:00
2012-06-02 19:41:28 +00:00
2011-12-17 10:23:17 +00:00
2012-03-27 15:13:12 +00:00
2012-05-25 03:00:34 +00:00
2012-05-24 23:03:23 +00:00
2012-05-23 06:49:50 +00:00
2012-01-10 20:52:02 +00:00
2012-01-15 13:23:18 +00:00
2012-04-16 23:29:12 +00:00
MFC
2011-05-16 16:34:03 +00:00
2012-05-23 13:23:40 +00:00
2012-01-31 13:00:40 +00:00
2012-01-15 13:23:43 +00:00
2012-04-13 18:21:56 +00:00
2012-05-25 03:02:56 +00:00
2011-10-18 08:09:44 +00:00
2011-12-17 10:23:17 +00:00
2012-05-25 15:05:17 +00:00
2011-05-15 13:17:08 +00:00
2012-01-11 15:00:16 +00:00
2012-02-27 08:57:02 +00:00
2012-01-15 13:23:18 +00:00
2012-05-11 03:17:32 +00:00
2012-06-02 19:41:28 +00:00
2011-12-15 05:07:16 +00:00
2012-02-11 08:12:52 +00:00
2011-12-22 15:13:32 +00:00
2011-10-18 08:09:44 +00:00
2011-11-23 05:34:01 +00:00
2012-06-01 04:23:20 +00:00