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 intel_nor_parts
[] = {
13 .id
= SNOR_ID(0x89, 0x89, 0x11),
16 .flags
= SPI_NOR_HAS_LOCK
| SPI_NOR_SWP_IS_VOLATILE
,
18 .id
= SNOR_ID(0x89, 0x89, 0x12),
21 .flags
= SPI_NOR_HAS_LOCK
| SPI_NOR_SWP_IS_VOLATILE
,
23 .id
= SNOR_ID(0x89, 0x89, 0x13),
26 .flags
= SPI_NOR_HAS_LOCK
| SPI_NOR_SWP_IS_VOLATILE
,
30 const struct spi_nor_manufacturer spi_nor_intel
= {
32 .parts
= intel_nor_parts
,
33 .nparts
= ARRAY_SIZE(intel_nor_parts
),