mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
[MTD] [CHIPS] Add JEDEC probe support for the SST 39VF3201 flash chip
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
48ec00ac89
commit
bd50a0ffca
@ -159,6 +159,7 @@
|
|||||||
#define SST39LF800 0x2781
|
#define SST39LF800 0x2781
|
||||||
#define SST39LF160 0x2782
|
#define SST39LF160 0x2782
|
||||||
#define SST39VF1601 0x234b
|
#define SST39VF1601 0x234b
|
||||||
|
#define SST39VF3201 0x235b
|
||||||
#define SST39LF512 0x00D4
|
#define SST39LF512 0x00D4
|
||||||
#define SST39LF010 0x00D5
|
#define SST39LF010 0x00D5
|
||||||
#define SST39LF020 0x00D6
|
#define SST39LF020 0x00D6
|
||||||
@ -1489,6 +1490,21 @@ static const struct amd_flash_info jedec_table[] = {
|
|||||||
ERASEINFO(0x1000,256),
|
ERASEINFO(0x1000,256),
|
||||||
ERASEINFO(0x1000,256)
|
ERASEINFO(0x1000,256)
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
.mfr_id = MANUFACTURER_SST, /* should be CFI */
|
||||||
|
.dev_id = SST39VF3201,
|
||||||
|
.name = "SST 39VF3201",
|
||||||
|
.devtypes = CFI_DEVICETYPE_X16,
|
||||||
|
.uaddr = MTD_UADDR_0xAAAA_0x5555,
|
||||||
|
.dev_size = SIZE_4MiB,
|
||||||
|
.cmd_set = P_ID_AMD_STD,
|
||||||
|
.nr_regions = 4,
|
||||||
|
.regions = {
|
||||||
|
ERASEINFO(0x1000,256),
|
||||||
|
ERASEINFO(0x1000,256),
|
||||||
|
ERASEINFO(0x1000,256),
|
||||||
|
ERASEINFO(0x1000,256)
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
.mfr_id = MANUFACTURER_SST,
|
.mfr_id = MANUFACTURER_SST,
|
||||||
.dev_id = SST36VF3203,
|
.dev_id = SST36VF3203,
|
||||||
|
Loading…
Reference in New Issue
Block a user