1
0

402-mtd-SST39VF6401B-support.patch 820 B

1234567891011121314151617181920212223242526272829
  1. --- a/drivers/mtd/chips/jedec_probe.c
  2. +++ b/drivers/mtd/chips/jedec_probe.c
  3. @@ -148,6 +148,7 @@
  4. #define SST39LF160 0x2782
  5. #define SST39VF1601 0x234b
  6. #define SST39VF3201 0x235b
  7. +#define SST39VF6401B 0x236d
  8. #define SST39WF1601 0x274b
  9. #define SST39WF1602 0x274a
  10. #define SST39LF512 0x00D4
  11. @@ -1569,6 +1570,18 @@ static const struct amd_flash_info jedec
  12. ERASEINFO(0x10000,64),
  13. }
  14. }, {
  15. + .mfr_id = CFI_MFR_SST,
  16. + .dev_id = SST39VF6401B,
  17. + .name = "SST 39VF6401B",
  18. + .devtypes = CFI_DEVICETYPE_X16,
  19. + .uaddr = MTD_UADDR_0xAAAA_0x5555,
  20. + .dev_size = SIZE_8MiB,
  21. + .cmd_set = P_ID_AMD_STD,
  22. + .nr_regions = 1,
  23. + .regions = {
  24. + ERASEINFO(0x10000,128)
  25. + }
  26. + }, {
  27. .mfr_id = CFI_MFR_ST,
  28. .dev_id = M29F800AB,
  29. .name = "ST M29F800AB",