esmt.c 733 B

12345678910111213141516171819202122232425262728
  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. /* ESMT */
  10. { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64)
  11. FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE)
  12. NO_SFDP_FLAGS(SECT_4K) },
  13. { "f25l32qa-2s", INFO(0x8c4116, 0, 64 * 1024, 64)
  14. FLAGS(SPI_NOR_HAS_LOCK)
  15. NO_SFDP_FLAGS(SECT_4K) },
  16. { "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128)
  17. FLAGS(SPI_NOR_HAS_LOCK)
  18. NO_SFDP_FLAGS(SECT_4K) },
  19. };
  20. const struct spi_nor_manufacturer spi_nor_esmt = {
  21. .name = "esmt",
  22. .parts = esmt_nor_parts,
  23. .nparts = ARRAY_SIZE(esmt_nor_parts),
  24. };