xref: /kernel/linux/linux-6.6/drivers/mtd/spi-nor/intel.c (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/drivers/mtd/spi-nor/
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 intel_nor_parts[] = {
1262306a36Sopenharmony_ci	/* Intel/Numonyx -- xxxs33b */
1362306a36Sopenharmony_ci	{ "160s33b",  INFO(0x898911, 0, 64 * 1024,  32)
1462306a36Sopenharmony_ci		FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) },
1562306a36Sopenharmony_ci	{ "320s33b",  INFO(0x898912, 0, 64 * 1024,  64)
1662306a36Sopenharmony_ci		FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) },
1762306a36Sopenharmony_ci	{ "640s33b",  INFO(0x898913, 0, 64 * 1024, 128)
1862306a36Sopenharmony_ci		FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) },
1962306a36Sopenharmony_ci};
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciconst struct spi_nor_manufacturer spi_nor_intel = {
2262306a36Sopenharmony_ci	.name = "intel",
2362306a36Sopenharmony_ci	.parts = intel_nor_parts,
2462306a36Sopenharmony_ci	.nparts = ARRAY_SIZE(intel_nor_parts),
2562306a36Sopenharmony_ci};
26

Indexes created Thu Nov 07 10:32:03 CST 2024