blob: ae4d67e01bb37c0b63efd6ab09c15157968f3aa3 [file] [log] [blame]
Boris Brezillond8259252020-03-13 19:42:49 +00001// 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
11static const struct flash_info catalyst_parts[] = {
12 /* Catalyst / On Semiconductor -- non-JEDEC */
Tudor Ambarusec1c0e92021-12-07 16:02:46 +020013 { "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 Brezillond8259252020-03-13 19:42:49 +000018};
19
20const struct spi_nor_manufacturer spi_nor_catalyst = {
21 .name = "catalyst",
22 .parts = catalyst_parts,
23 .nparts = ARRAY_SIZE(catalyst_parts),
24};