Unverified Commit da7e48db authored by Michael Walle's avatar Michael Walle Committed by Tudor Ambarus
Browse files

mtd: spi-nor: remove or move flash_info comments



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: default avatarMichael Walle <mwalle@kernel.org>
Link: https://lore.kernel.org/r/20230807-mtd-flash-info-db-rework-v3-16-e60548861b10@kernel.org


Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
parent 3e85be98
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -163,7 +163,6 @@ static const struct spi_nor_fixups atmel_nor_global_protection_fixups = {
};

static const struct flash_info atmel_nor_parts[] = {
	/* Atmel -- some are (confusingly) marketed as "DataFlash" */
	{ "at25fs010",  INFO(0x1f6601, 0, 32 * 1024,   4)
		FLAGS(SPI_NOR_HAS_LOCK)
		NO_SFDP_FLAGS(SECT_4K)
+0 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@
#include "core.h"

static const struct flash_info eon_nor_parts[] = {
	/* EON -- en25xxx */
	{ "en25f32",    INFO(0x1c3116, 0, 64 * 1024,   64)
		NO_SFDP_FLAGS(SECT_4K) },
	{ "en25p32",    INFO(0x1c2016, 0, 64 * 1024,   64) },
+0 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@
#include "core.h"

static const struct flash_info esmt_nor_parts[] = {
	/* ESMT */
	{ "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64)
		FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE)
		NO_SFDP_FLAGS(SECT_4K) },
+0 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@
#include "core.h"

static const struct flash_info everspin_nor_parts[] = {
	/* Everspin */
	{ "mr25h128", CAT25_INFO(16 * 1024, 1, 256, 2) },
	{ "mr25h256", CAT25_INFO(32 * 1024, 1, 256, 2) },
	{ "mr25h10",  CAT25_INFO(128 * 1024, 1, 256, 3) },
+0 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@
#include "core.h"

static const struct flash_info intel_nor_parts[] = {
	/* Intel/Numonyx -- xxxs33b */
	{ "160s33b",  INFO(0x898911, 0, 64 * 1024,  32)
		FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE) },
	{ "320s33b",  INFO(0x898912, 0, 64 * 1024,  64)
Loading