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 intel_nor_parts[] = { |
12 | { |
13 | .id = SNOR_ID(0x89, 0x89, 0x11), |
14 | .name = "160s33b" , |
15 | .size = SZ_2M, |
16 | .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE, |
17 | }, { |
18 | .id = SNOR_ID(0x89, 0x89, 0x12), |
19 | .name = "320s33b" , |
20 | .size = SZ_4M, |
21 | .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE, |
22 | }, { |
23 | .id = SNOR_ID(0x89, 0x89, 0x13), |
24 | .name = "640s33b" , |
25 | .size = SZ_8M, |
26 | .flags = SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE, |
27 | } |
28 | }; |
29 | |
30 | const struct spi_nor_manufacturer spi_nor_intel = { |
31 | .name = "intel" , |
32 | .parts = intel_nor_parts, |
33 | .nparts = ARRAY_SIZE(intel_nor_parts), |
34 | }; |
35 | |