esmt.c 825 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (C) 2005, Intec Automation Inc.
  4. * Copyright (C) 2014, Freescale Semiconductor, Inc.
  5. */
  6. #include <linux/mtd/spi-nor.h>
  7. #include "core.h"
  8. static const struct flash_info esmt_nor_parts[] = {
  9. {
  10. .id = SNOR_ID(0x8c, 0x20, 0x16),
  11. .name = "f25l32pa",
  12. .size = SZ_4M,
  13. .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE,
  14. .no_sfdp_flags = SECT_4K,
  15. }, {
  16. .id = SNOR_ID(0x8c, 0x41, 0x16),
  17. .name = "f25l32qa-2s",
  18. .size = SZ_4M,
  19. .flags = SPI_NOR_HAS_LOCK,
  20. .no_sfdp_flags = SECT_4K,
  21. }, {
  22. .id = SNOR_ID(0x8c, 0x41, 0x17),
  23. .name = "f25l64qa",
  24. .size = SZ_8M,
  25. .flags = SPI_NOR_HAS_LOCK,
  26. .no_sfdp_flags = SECT_4K,
  27. }
  28. };
  29. const struct spi_nor_manufacturer spi_nor_esmt = {
  30. .name = "esmt",
  31. .parts = esmt_nor_parts,
  32. .nparts = ARRAY_SIZE(esmt_nor_parts),
  33. };