18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2005, Intec Automation Inc. 48c2ecf20Sopenharmony_ci * Copyright (C) 2014, Freescale Semiconductor, Inc. 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include <linux/mtd/spi-nor.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include "core.h" 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_cistatic const struct flash_info esmt_parts[] = { 128c2ecf20Sopenharmony_ci /* ESMT */ 138c2ecf20Sopenharmony_ci { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, 148c2ecf20Sopenharmony_ci SECT_4K | SPI_NOR_HAS_LOCK) }, 158c2ecf20Sopenharmony_ci { "f25l32qa", INFO(0x8c4116, 0, 64 * 1024, 64, 168c2ecf20Sopenharmony_ci SECT_4K | SPI_NOR_HAS_LOCK) }, 178c2ecf20Sopenharmony_ci { "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128, 188c2ecf20Sopenharmony_ci SECT_4K | SPI_NOR_HAS_LOCK) }, 198c2ecf20Sopenharmony_ci}; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciconst struct spi_nor_manufacturer spi_nor_esmt = { 228c2ecf20Sopenharmony_ci .name = "esmt", 238c2ecf20Sopenharmony_ci .parts = esmt_parts, 248c2ecf20Sopenharmony_ci .nparts = ARRAY_SIZE(esmt_parts), 258c2ecf20Sopenharmony_ci}; 26