474-mtd_mp25p80_add_pm25lq032.patch 480 B

12345678910
  1. --- a/drivers/mtd/devices/m25p80.c
  2. +++ b/drivers/mtd/devices/m25p80.c
  3. @@ -674,6 +674,7 @@ static const struct spi_device_id m25p_i
  4. /* PMC -- pm25x "blocks" are 32K, sectors are 4K */
  5. { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) },
  6. { "pm25lv010", INFO(0, 0, 32 * 1024, 4, SECT_4K_PMC) },
  7. + { "pm25lq032", INFO(0x7F9D46, 0, 64 * 1024, 64, SECT_4K) },
  8. /* Spansion -- single (large) sector size only, at least
  9. * for the chips listed here (without boot sectors).