1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2005, Intec Automation Inc.
4 * Copyright (C) 2014, Freescale Semiconductor, Inc.
7 #include <linux/mtd/spi-nor.h>
11 static const struct flash_info esmt_nor_parts[] = {
13 { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64)
14 FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE)
15 NO_SFDP_FLAGS(SECT_4K) },
16 { "f25l32qa-2s", INFO(0x8c4116, 0, 64 * 1024, 64)
17 FLAGS(SPI_NOR_HAS_LOCK)
18 NO_SFDP_FLAGS(SECT_4K) },
19 { "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128)
20 FLAGS(SPI_NOR_HAS_LOCK)
21 NO_SFDP_FLAGS(SECT_4K) },
24 const struct spi_nor_manufacturer spi_nor_esmt = {
26 .parts = esmt_nor_parts,
27 .nparts = ARRAY_SIZE(esmt_nor_parts),