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 esmt_nor_parts[] = {
0012     /* ESMT */
0013     { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64)
0014         FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE)
0015         NO_SFDP_FLAGS(SECT_4K) },
0016     { "f25l32qa-2s", INFO(0x8c4116, 0, 64 * 1024, 64)
0017         FLAGS(SPI_NOR_HAS_LOCK)
0018         NO_SFDP_FLAGS(SECT_4K) },
0019     { "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128)
0020         FLAGS(SPI_NOR_HAS_LOCK)
0021         NO_SFDP_FLAGS(SECT_4K) },
0022 };
0023 
0024 const struct spi_nor_manufacturer spi_nor_esmt = {
0025     .name = "esmt",
0026     .parts = esmt_nor_parts,
0027     .nparts = ARRAY_SIZE(esmt_nor_parts),
0028 };