xref: /openbmc/linux/drivers/mtd/spi-nor/everspin.c (revision 349d03ff)
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (C) 2005, Intec Automation Inc.
4  * Copyright (C) 2014, Freescale Semiconductor, Inc.
5  */
6 
7 #include <linux/mtd/spi-nor.h>
8 
9 #include "core.h"
10 
11 static const struct flash_info everspin_nor_parts[] = {
12 	/* Everspin */
13 	{ "mr25h128", CAT25_INFO(16 * 1024, 1, 256, 2) },
14 	{ "mr25h256", CAT25_INFO(32 * 1024, 1, 256, 2) },
15 	{ "mr25h10",  CAT25_INFO(128 * 1024, 1, 256, 3) },
16 	{ "mr25h40",  CAT25_INFO(512 * 1024, 1, 256, 3) },
17 };
18 
19 const struct spi_nor_manufacturer spi_nor_everspin = {
20 	.name = "everspin",
21 	.parts = everspin_nor_parts,
22 	.nparts = ARRAY_SIZE(everspin_nor_parts),
23 };
24