Boris Brezillon | d825925 | 2020-03-13 19:42:49 +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 catalyst_parts[] = { |
| 12 | /* Catalyst / On Semiconductor -- non-JEDEC */ |
Tudor Ambarus | ec1c0e9 | 2021-12-07 16:02:46 +0200 | [diff] [blame] | 13 | { "cat25c11", CAT25_INFO(16, 8, 16, 1) }, |
| 14 | { "cat25c03", CAT25_INFO(32, 8, 16, 2) }, |
| 15 | { "cat25c09", CAT25_INFO(128, 8, 32, 2) }, |
| 16 | { "cat25c17", CAT25_INFO(256, 8, 32, 2) }, |
| 17 | { "cat25128", CAT25_INFO(2048, 8, 64, 2) }, |
Boris Brezillon | d825925 | 2020-03-13 19:42:49 +0000 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | const struct spi_nor_manufacturer spi_nor_catalyst = { |
| 21 | .name = "catalyst", |
| 22 | .parts = catalyst_parts, |
| 23 | .nparts = ARRAY_SIZE(catalyst_parts), |
| 24 | }; |