intel.c 734 B

12345678910111213141516171819202122232425
  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 intel_nor_parts[] = {
  9. /* Intel/Numonyx -- xxxs33b */
  10. { "160s33b", INFO(0x898911, 0, 64 * 1024, 32)
  11. FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) },
  12. { "320s33b", INFO(0x898912, 0, 64 * 1024, 64)
  13. FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) },
  14. { "640s33b", INFO(0x898913, 0, 64 * 1024, 128)
  15. FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) },
  16. };
  17. const struct spi_nor_manufacturer spi_nor_intel = {
  18. .name = "intel",
  19. .parts = intel_nor_parts,
  20. .nparts = ARRAY_SIZE(intel_nor_parts),
  21. };