174c7e0e3SBoris Brezillon // SPDX-License-Identifier: GPL-2.0 274c7e0e3SBoris Brezillon /* 374c7e0e3SBoris Brezillon * Copyright (C) 2005, Intec Automation Inc. 474c7e0e3SBoris Brezillon * Copyright (C) 2014, Freescale Semiconductor, Inc. 574c7e0e3SBoris Brezillon */ 674c7e0e3SBoris Brezillon 774c7e0e3SBoris Brezillon #include <linux/mtd/spi-nor.h> 874c7e0e3SBoris Brezillon 974c7e0e3SBoris Brezillon #include "core.h" 1074c7e0e3SBoris Brezillon 11a7a3f090SMichael Walle static const struct flash_info esmt_nor_parts[] = { 12*5a329c40SMichael Walle { 13*5a329c40SMichael Walle .id = SNOR_ID(0x8c, 0x20, 0x16), 14*5a329c40SMichael Walle .name = "f25l32pa", 15*5a329c40SMichael Walle .size = SZ_4M, 16*5a329c40SMichael Walle .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE, 17*5a329c40SMichael Walle .no_sfdp_flags = SECT_4K, 18*5a329c40SMichael Walle }, { 19*5a329c40SMichael Walle .id = SNOR_ID(0x8c, 0x41, 0x16), 20*5a329c40SMichael Walle .name = "f25l32qa-2s", 21*5a329c40SMichael Walle .size = SZ_4M, 22*5a329c40SMichael Walle .flags = SPI_NOR_HAS_LOCK, 23*5a329c40SMichael Walle .no_sfdp_flags = SECT_4K, 24*5a329c40SMichael Walle }, { 25*5a329c40SMichael Walle .id = SNOR_ID(0x8c, 0x41, 0x17), 26*5a329c40SMichael Walle .name = "f25l64qa", 27*5a329c40SMichael Walle .size = SZ_8M, 28*5a329c40SMichael Walle .flags = SPI_NOR_HAS_LOCK, 29*5a329c40SMichael Walle .no_sfdp_flags = SECT_4K, 30*5a329c40SMichael Walle } 3174c7e0e3SBoris Brezillon }; 3274c7e0e3SBoris Brezillon 3374c7e0e3SBoris Brezillon const struct spi_nor_manufacturer spi_nor_esmt = { 3474c7e0e3SBoris Brezillon .name = "esmt", 35a7a3f090SMichael Walle .parts = esmt_nor_parts, 36a7a3f090SMichael Walle .nparts = ARRAY_SIZE(esmt_nor_parts), 3774c7e0e3SBoris Brezillon }; 38