mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
Add ids and chip entry for Spansion S25FL016A, tested, working
Corresponding to flashrom svn r187 and coreboot v2 svn r3074. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
parent
e5dd6e6cd5
commit
10e091bd30
8
flash.h
8
flash.h
@ -165,6 +165,14 @@ extern struct flashchip flashchips[];
|
|||||||
#define SHARP_ID 0xB0 /* Sharp */
|
#define SHARP_ID 0xB0 /* Sharp */
|
||||||
#define SHARP_LHF00L04 0xCF
|
#define SHARP_LHF00L04 0xCF
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Spansion was previously a joint venture of AMD and Fujitsu.
|
||||||
|
* S25 chips are SPI. The first device ID byte is memory type and
|
||||||
|
* the second device ID byte is memory capacity.
|
||||||
|
*/
|
||||||
|
#define SPANSION_ID 0x01 /* Spansion */
|
||||||
|
#define SPANSION_S25FL016A 0x0214
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SST25 chips are SPI, first byte of device ID is memory type, second
|
* SST25 chips are SPI, first byte of device ID is memory type, second
|
||||||
* byte of device ID is related to log(bitsize) at least for some chips.
|
* byte of device ID is related to log(bitsize) at least for some chips.
|
||||||
|
@ -56,6 +56,8 @@ struct flashchip flashchips[] = {
|
|||||||
probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
|
probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
|
||||||
{"MX25L3205", MX_ID, MX_25L3205, 4096, 256,
|
{"MX25L3205", MX_ID, MX_25L3205, 4096, 256,
|
||||||
probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
|
probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
|
||||||
|
{"S25FL016A", SPANSION_ID, SPANSION_S25FL016A, 2048, 256,
|
||||||
|
probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
|
||||||
{"SST25VF040B", SST_ID, SST_25VF040B, 512, 256,
|
{"SST25VF040B", SST_ID, SST_25VF040B, 512, 256,
|
||||||
probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
|
probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
|
||||||
{"SST25VF016B", SST_ID, SST_25VF016B, 2048, 256,
|
{"SST25VF016B", SST_ID, SST_25VF016B, 2048, 256,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user