162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2005, Intec Automation Inc.
462306a36Sopenharmony_ci * Copyright (C) 2014, Freescale Semiconductor, Inc.
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#include <linux/mtd/spi-nor.h>
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include "core.h"
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_cistatic const struct flash_info catalyst_nor_parts[] = {
1262306a36Sopenharmony_ci	/* Catalyst / On Semiconductor -- non-JEDEC */
1362306a36Sopenharmony_ci	{ "cat25c11", CAT25_INFO(16, 8, 16, 1) },
1462306a36Sopenharmony_ci	{ "cat25c03", CAT25_INFO(32, 8, 16, 2) },
1562306a36Sopenharmony_ci	{ "cat25c09", CAT25_INFO(128, 8, 32, 2) },
1662306a36Sopenharmony_ci	{ "cat25c17", CAT25_INFO(256, 8, 32, 2) },
1762306a36Sopenharmony_ci	{ "cat25128", CAT25_INFO(2048, 8, 64, 2) },
1862306a36Sopenharmony_ci};
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconst struct spi_nor_manufacturer spi_nor_catalyst = {
2162306a36Sopenharmony_ci	.name = "catalyst",
2262306a36Sopenharmony_ci	.parts = catalyst_nor_parts,
2362306a36Sopenharmony_ci	.nparts = ARRAY_SIZE(catalyst_nor_parts),
2462306a36Sopenharmony_ci};
25