Boris Brezillon | aa63518 | 2020-03-13 19:42:43 +0000 | [diff] [blame] | 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_parts[] = { |
| 12 | /* Intel/Numonyx -- xxxs33b */ |
Tudor Ambarus | ec1c0e9 | 2021-12-07 16:02:46 +0200 | [diff] [blame] | 13 | { "160s33b", INFO(0x898911, 0, 64 * 1024, 32) |
| 14 | FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) }, |
| 15 | { "320s33b", INFO(0x898912, 0, 64 * 1024, 64) |
| 16 | FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) }, |
| 17 | { "640s33b", INFO(0x898913, 0, 64 * 1024, 128) |
| 18 | FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) }, |
Boris Brezillon | aa63518 | 2020-03-13 19:42:43 +0000 | [diff] [blame] | 19 | }; |
| 20 | |
| 21 | const struct spi_nor_manufacturer spi_nor_intel = { |
| 22 | .name = "intel", |
| 23 | .parts = intel_parts, |
| 24 | .nparts = ARRAY_SIZE(intel_parts), |
Boris Brezillon | aa63518 | 2020-03-13 19:42:43 +0000 | [diff] [blame] | 25 | }; |