1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2005, Intec Automation Inc.
4 * Copyright (C) 2014, Freescale Semiconductor, Inc.
7 #include <linux/mtd/spi-nor.h>
11 static const struct flash_info everspin_parts
[] = {
13 { "mr25h128", CAT25_INFO(16 * 1024, 1, 256, 2,
14 SPI_NOR_NO_ERASE
| SPI_NOR_NO_FR
) },
15 { "mr25h256", CAT25_INFO(32 * 1024, 1, 256, 2,
16 SPI_NOR_NO_ERASE
| SPI_NOR_NO_FR
) },
17 { "mr25h10", CAT25_INFO(128 * 1024, 1, 256, 3,
18 SPI_NOR_NO_ERASE
| SPI_NOR_NO_FR
) },
19 { "mr25h40", CAT25_INFO(512 * 1024, 1, 256, 3,
20 SPI_NOR_NO_ERASE
| SPI_NOR_NO_FR
) },
23 const struct spi_nor_manufacturer spi_nor_everspin
= {
25 .parts
= everspin_parts
,
26 .nparts
= ARRAY_SIZE(everspin_parts
),