diff options
author | Sean Nelson <audiohacked@gmail.com> | 2009-11-24 02:08:11 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-11-24 02:08:11 +0000 |
commit | 118e1d6d0480570f578e20c5b1c6cb3c0470c1d0 (patch) | |
tree | c90e704a9e206437b03f27de12ea06bc35edf514 /flashchips.h | |
parent | b2ecf6c9eb02257ff6eaa4f3fc959c49e7eca201 (diff) | |
download | ast2050-flashrom-118e1d6d0480570f578e20c5b1c6cb3c0470c1d0.zip ast2050-flashrom-118e1d6d0480570f578e20c5b1c6cb3c0470c1d0.tar.gz |
Add Generic SPI RDID detection for Sanyo chips
Corresponding to flashrom svn r774.
Signed-off-by: Sean Nelson <audiohacked@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashchips.h')
-rw-r--r-- | flashchips.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/flashchips.h b/flashchips.h index 95277e6..684b8b9 100644 --- a/flashchips.h +++ b/flashchips.h @@ -326,6 +326,14 @@ #define PMC_49FL002 0x6D #define PMC_49FL004 0x6E +/* + * The Sanyo chip found so far uses SPI, first byte is manufacture code, + * second byte is the device code, + * third byte is a dummy byte. + */ +#define SANYO_ID 0x62 +#define SANYO_LE25FW203A 0x1600 + #define SHARP_ID 0xB0 /* Sharp */ #define SHARP_LH28F008BJxxPT 0xEC #define SHARP_LH28F008BJxxPB 0xED |