storm: add support for another Spansion chip
Add the device ID definitions and properties for the SPI chip used on
the AP148 board.
BUG=chrome-os-partner:27784
TEST=manual
. with the rest of the patches applied AP148 boots all the way to
trying to read the payload.
Change-Id: I5a0e5c9d3cc9ea81bc5227c0fbc1d0a5fc7bec27
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/197895
Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
parent
3ea7307b53
commit
a7c69981b1
1 changed files with 10 additions and 0 deletions
|
|
@ -47,10 +47,12 @@
|
|||
#define SPSN_ID_S25FL016A 0x0214
|
||||
#define SPSN_ID_S25FL032A 0x0215
|
||||
#define SPSN_ID_S25FL064A 0x0216
|
||||
#define SPSN_ID_S25FL128S 0x0219
|
||||
#define SPSN_ID_S25FL128P 0x2018
|
||||
#define SPSN_EXT_ID_S25FL128P_256KB 0x0300
|
||||
#define SPSN_EXT_ID_S25FL128P_64KB 0x0301
|
||||
#define SPSN_EXT_ID_S25FL032P 0x4d00
|
||||
#define SPSN_EXT_ID_S25FLXXS_64KB 0x4d01
|
||||
|
||||
struct spansion_spi_flash_params {
|
||||
u16 idcode1;
|
||||
|
|
@ -121,6 +123,14 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
|
|||
.nr_sectors = 64,
|
||||
.name = "S25FL128P_256K",
|
||||
},
|
||||
{
|
||||
.idcode1 = SPSN_ID_S25FL128S,
|
||||
.idcode2 = SPSN_EXT_ID_S25FLXXS_64KB,
|
||||
.page_size = 256,
|
||||
.pages_per_sector = 256,
|
||||
.nr_sectors = 512,
|
||||
.name = "S25FL128S_256K",
|
||||
},
|
||||
{
|
||||
.idcode1 = SPSN_ID_S25FL032A,
|
||||
.idcode2 = SPSN_EXT_ID_S25FL032P,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue