]> git.itanic.dy.fi Git - linux-stable/commitdiff
mtd: spi-nor: remove Fujitsu MB85RS1MT support
authorMichael Walle <mwalle@kernel.org>
Fri, 8 Sep 2023 10:16:20 +0000 (12:16 +0200)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Tue, 19 Sep 2023 15:49:15 +0000 (18:49 +0300)
This part is not a flash but an EEPROM like FRAM. It is even has a DT
binding for the (correct) driver (at25), see
Documentation/devicetree/bindings/eeprom/at25.yaml. Just remove it.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Link: https://lore.kernel.org/r/20230807-mtd-flash-info-db-rework-v3-2-e60548861b10@kernel.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
drivers/mtd/spi-nor/Makefile
drivers/mtd/spi-nor/core.c
drivers/mtd/spi-nor/core.h
drivers/mtd/spi-nor/fujitsu.c [deleted file]

index 496dae9ca0f3db38beb93631a089b07f3e1de74c..5e68468b72fcad08bfff5c37660034af82ad497c 100644 (file)
@@ -5,7 +5,6 @@ spi-nor-objs                    += atmel.o
 spi-nor-objs                   += eon.o
 spi-nor-objs                   += esmt.o
 spi-nor-objs                   += everspin.o
-spi-nor-objs                   += fujitsu.o
 spi-nor-objs                   += gigadevice.o
 spi-nor-objs                   += intel.o
 spi-nor-objs                   += issi.o
index c44de69c4353491d41ee4bd88f10a39e6eeff772..286155002cdc3ebf82f0f83c82efa24468994161 100644 (file)
@@ -2002,7 +2002,6 @@ static const struct spi_nor_manufacturer *manufacturers[] = {
        &spi_nor_eon,
        &spi_nor_esmt,
        &spi_nor_everspin,
-       &spi_nor_fujitsu,
        &spi_nor_gigadevice,
        &spi_nor_intel,
        &spi_nor_issi,
index 6d31af6c39eda438dceb772643bf2e7095e102b8..dfc20a3296fb869f1681deadc6cf1bb978f2e14d 100644 (file)
@@ -634,7 +634,6 @@ extern const struct spi_nor_manufacturer spi_nor_atmel;
 extern const struct spi_nor_manufacturer spi_nor_eon;
 extern const struct spi_nor_manufacturer spi_nor_esmt;
 extern const struct spi_nor_manufacturer spi_nor_everspin;
-extern const struct spi_nor_manufacturer spi_nor_fujitsu;
 extern const struct spi_nor_manufacturer spi_nor_gigadevice;
 extern const struct spi_nor_manufacturer spi_nor_intel;
 extern const struct spi_nor_manufacturer spi_nor_issi;
diff --git a/drivers/mtd/spi-nor/fujitsu.c b/drivers/mtd/spi-nor/fujitsu.c
deleted file mode 100644 (file)
index 69cffc5..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// 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 fujitsu_nor_parts[] = {
-       /* Fujitsu */
-       { "mb85rs1mt", INFO(0x047f27, 0, 128 * 1024, 1)
-               FLAGS(SPI_NOR_NO_ERASE) },
-};
-
-const struct spi_nor_manufacturer spi_nor_fujitsu = {
-       .name = "fujitsu",
-       .parts = fujitsu_nor_parts,
-       .nparts = ARRAY_SIZE(fujitsu_nor_parts),
-};