mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
Most of the comments are a relict of the past when the flash_info was just one table. Most of them are useless. Remove them. Signed-off-by: Michael Walle <mwalle@kernel.org> Link: https://lore.kernel.org/r/20230807-mtd-flash-info-db-rework-v3-16-e60548861b10@kernel.org Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
28 lines
721 B
C
28 lines
721 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (C) 2005, Intec Automation Inc.
|
|
* Copyright (C) 2014, Freescale Semiconductor, Inc.
|
|
*/
|
|
|
|
#include <linux/mtd/spi-nor.h>
|
|
|
|
#include "core.h"
|
|
|
|
static const struct flash_info esmt_nor_parts[] = {
|
|
{ "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64)
|
|
FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE)
|
|
NO_SFDP_FLAGS(SECT_4K) },
|
|
{ "f25l32qa-2s", INFO(0x8c4116, 0, 64 * 1024, 64)
|
|
FLAGS(SPI_NOR_HAS_LOCK)
|
|
NO_SFDP_FLAGS(SECT_4K) },
|
|
{ "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128)
|
|
FLAGS(SPI_NOR_HAS_LOCK)
|
|
NO_SFDP_FLAGS(SECT_4K) },
|
|
};
|
|
|
|
const struct spi_nor_manufacturer spi_nor_esmt = {
|
|
.name = "esmt",
|
|
.parts = esmt_nor_parts,
|
|
.nparts = ARRAY_SIZE(esmt_nor_parts),
|
|
};
|