17bdbd1ceSBoris Brezillon // SPDX-License-Identifier: GPL-2.0 27bdbd1ceSBoris Brezillon /* 37bdbd1ceSBoris Brezillon * Copyright (C) 2005, Intec Automation Inc. 47bdbd1ceSBoris Brezillon * Copyright (C) 2014, Freescale Semiconductor, Inc. 57bdbd1ceSBoris Brezillon */ 67bdbd1ceSBoris Brezillon 77bdbd1ceSBoris Brezillon #include <linux/mtd/spi-nor.h> 87bdbd1ceSBoris Brezillon 97bdbd1ceSBoris Brezillon #include "core.h" 107bdbd1ceSBoris Brezillon 117bdbd1ceSBoris Brezillon static const struct flash_info everspin_parts[] = { 127bdbd1ceSBoris Brezillon /* Everspin */ 13*ec1c0e99STudor Ambarus { "mr25h128", CAT25_INFO(16 * 1024, 1, 256, 2) }, 14*ec1c0e99STudor Ambarus { "mr25h256", CAT25_INFO(32 * 1024, 1, 256, 2) }, 15*ec1c0e99STudor Ambarus { "mr25h10", CAT25_INFO(128 * 1024, 1, 256, 3) }, 16*ec1c0e99STudor Ambarus { "mr25h40", CAT25_INFO(512 * 1024, 1, 256, 3) }, 177bdbd1ceSBoris Brezillon }; 187bdbd1ceSBoris Brezillon 197bdbd1ceSBoris Brezillon const struct spi_nor_manufacturer spi_nor_everspin = { 207bdbd1ceSBoris Brezillon .name = "everspin", 217bdbd1ceSBoris Brezillon .parts = everspin_parts, 227bdbd1ceSBoris Brezillon .nparts = ARRAY_SIZE(everspin_parts), 237bdbd1ceSBoris Brezillon }; 24