1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Copyright (C) 2005, Intec Automation Inc. 4 * Copyright (C) 2014, Freescale Semiconductor, Inc. 5 */ 6 7 #include <linux/mtd/spi-nor.h> 8 9 #include "core.h" 10 11 static const struct flash_info esmt_parts[] = { 12 /* ESMT */ 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", 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) }, 22 }; 23 24 const struct spi_nor_manufacturer spi_nor_esmt = { 25 .name = "esmt", 26 .parts = esmt_parts, 27 .nparts = ARRAY_SIZE(esmt_parts), 28 }; 29