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 eon_nor_parts
[] = {
13 .id
= SNOR_ID(0x1c, 0x20, 0x16),
17 .id
= SNOR_ID(0x1c, 0x20, 0x17),
21 .id
= SNOR_ID(0x1c, 0x30, 0x14),
24 .no_sfdp_flags
= SECT_4K
| SPI_NOR_DUAL_READ
,
26 .id
= SNOR_ID(0x1c, 0x30, 0x16),
30 .id
= SNOR_ID(0x1c, 0x30, 0x17),
33 .no_sfdp_flags
= SECT_4K
,
35 .id
= SNOR_ID(0x1c, 0x31, 0x16),
38 .no_sfdp_flags
= SECT_4K
,
41 .id
= SNOR_ID(0x1c, 0x38, 0x17),
43 .no_sfdp_flags
= SECT_4K
,
45 .id
= SNOR_ID(0x1c, 0x70, 0x15),
48 .no_sfdp_flags
= SECT_4K
| SPI_NOR_DUAL_READ
,
50 .id
= SNOR_ID(0x1c, 0x70, 0x16),
54 .id
= SNOR_ID(0x1c, 0x70, 0x17),
57 .no_sfdp_flags
= SECT_4K
| SPI_NOR_DUAL_READ
,
59 .id
= SNOR_ID(0x1c, 0x70, 0x18),
63 .id
= SNOR_ID(0x1c, 0x70, 0x19),
68 const struct spi_nor_manufacturer spi_nor_eon
= {
70 .parts
= eon_nor_parts
,
71 .nparts
= ARRAY_SIZE(eon_nor_parts
),