Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Copyright (C) 2005, Intec Automation Inc.
0004  * Copyright (C) 2014, Freescale Semiconductor, Inc.
0005  */
0006 
0007 #include <linux/mtd/spi-nor.h>
0008 
0009 #include "core.h"
0010 
0011 static const struct flash_info everspin_nor_parts[] = {
0012     /* Everspin */
0013     { "mr25h128", CAT25_INFO(16 * 1024, 1, 256, 2) },
0014     { "mr25h256", CAT25_INFO(32 * 1024, 1, 256, 2) },
0015     { "mr25h10",  CAT25_INFO(128 * 1024, 1, 256, 3) },
0016     { "mr25h40",  CAT25_INFO(512 * 1024, 1, 256, 3) },
0017 };
0018 
0019 const struct spi_nor_manufacturer spi_nor_everspin = {
0020     .name = "everspin",
0021     .parts = everspin_nor_parts,
0022     .nparts = ARRAY_SIZE(everspin_nor_parts),
0023 };