WIP FPC-III support
[linux/fpc-iii.git] / drivers / mtd / spi-nor / esmt.c
blobcfc9218c1053b50f74da53d69b7185b61f5193ba
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 esmt_parts[] = {
12 /* ESMT */
13 { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64,
14 SECT_4K | SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) },
15 { "f25l32qa", INFO(0x8c4116, 0, 64 * 1024, 64,
16 SECT_4K | SPI_NOR_HAS_LOCK) },
17 { "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128,
18 SECT_4K | SPI_NOR_HAS_LOCK) },
21 const struct spi_nor_manufacturer spi_nor_esmt = {
22 .name = "esmt",
23 .parts = esmt_parts,
24 .nparts = ARRAY_SIZE(esmt_parts),