Changeset 1115 for trunk/flashchips.h


Ignore:
Timestamp:
07/29/10 15:09:18 (22 months ago)
Author:
hailfinger
Message:

Add detailed status register printing and unlocking for all ATMEL AT25*
chips.

Add support for Atmel AT25DF081A and AT25DQ161.

Some chips require EWSR before WRSR, others require WREN before WRSR,
and some support both variants. Add feature_bits to select the correct
SPI command, and default to EWSR.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@…>
Tested-by: Steven Rosario
Acked-by: Uwe Hermann <uwe@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flashchips.h

    r1097 r1115  
    111111#define AT_25DF041A             0x4401 
    112112#define AT_25DF081              0x4502 
     113#define AT_25DF081A             0x4501  /* Yes, 81A has a lower number than 81 */ 
    113114#define AT_25DF161              0x4602 
    114115#define AT_25DF321              0x4700  /* Same as 26DF321 */ 
    115116#define AT_25DF321A             0x4701 
    116117#define AT_25DF641              0x4800 
    117 #define AT_25F512A              0x65 /* Needs special RDID. AT25F512A_RDID 15 1d */ 
     118#define AT_25DQ161              0x8600 
     119#define AT25F512                /* No device ID found in datasheet. Vendor ID 
     120                                 * can be read with AT25F512A_RDID */ 
     121#define AT_25F512A              0x65 /* Needs AT25F512A_RDID */ 
    118122#define AT_25F512B              0x6500 
     123#define AT25F1024               /* No device ID found in datasheet. Vendor ID 
     124                                 * can be read with AT25F512A_RDID */ 
     125#define AT_25F1024A             0x60 /* Needs AT25F512A_RDID */ 
    119126#define AT_25FS010              0x6601 
    120127#define AT_25FS040              0x6604 
Note: See TracChangeset for help on using the changeset viewer.