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 SECT_4K | SPI_NOR_HAS_LOCK) }, 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) }, 19 }; 20 21 const struct spi_nor_manufacturer spi_nor_esmt = { 22 .name = "esmt", 23 .parts = esmt_parts, 24 .nparts = ARRAY_SIZE(esmt_parts), 25 }; 26