Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / mtd / spi-nor / everspin.c
blob04a177a3228316635f6d70b31884d2ac16a826c8
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Copyright (C) 2005, Intec Automation Inc.
4 * Copyright (C) 2014, Freescale Semiconductor, Inc.
5 */
7 #include <linux/mtd/spi-nor.h>
9 #include "core.h"
11 static const struct flash_info everspin_parts[] = {
12 /* Everspin */
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 = {
24 .name = "everspin",
25 .parts = everspin_parts,
26 .nparts = ARRAY_SIZE(everspin_parts),