catalyst.c (672B)
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 11static const struct flash_info catalyst_nor_parts[] = { 12 /* Catalyst / On Semiconductor -- non-JEDEC */ 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) }, 18}; 19 20const struct spi_nor_manufacturer spi_nor_catalyst = { 21 .name = "catalyst", 22 .parts = catalyst_nor_parts, 23 .nparts = ARRAY_SIZE(catalyst_nor_parts), 24};