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 .id = SNOR_ID(0x8c, 0x20, 0x16),
16 .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE,
17 .no_sfdp_flags = SECT_4K,
19 .id = SNOR_ID(0x8c, 0x41, 0x16),
20 .name = "f25l32qa-2s",
22 .flags = SPI_NOR_HAS_LOCK,
23 .no_sfdp_flags = SECT_4K,
25 .id = SNOR_ID(0x8c, 0x41, 0x17),
28 .flags = SPI_NOR_HAS_LOCK,
29 .no_sfdp_flags = SECT_4K,
33 const struct spi_nor_manufacturer spi_nor_esmt = {
35 .parts = esmt_nor_parts,
36 .nparts = ARRAY_SIZE(esmt_nor_parts),