Skip to content

Commit 022545e

Browse files
mwalleambarus
authored andcommitted
mtd: spi-nor: remove catalyst 'flashes'
CAT25xx are actually EEPROMs manufactured by Catalyst. The devices are ancient (DS are from 1998), there are not in-tree users, nor are there any device tree bindings. Remove it. The correct driver is the at25. Signed-off-by: Michael Walle <mwalle@kernel.org> Link: https://lore.kernel.org/r/20230807-mtd-flash-info-db-rework-v3-1-e60548861b10@kernel.org Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
1 parent ce9ecca commit 022545e

4 files changed

Lines changed: 0 additions & 27 deletions

File tree

drivers/mtd/spi-nor/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o
44
spi-nor-objs += atmel.o
5-
spi-nor-objs += catalyst.o
65
spi-nor-objs += eon.o
76
spi-nor-objs += esmt.o
87
spi-nor-objs += everspin.o

drivers/mtd/spi-nor/catalyst.c

Lines changed: 0 additions & 24 deletions
This file was deleted.

drivers/mtd/spi-nor/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,6 @@ int spi_nor_sr2_bit7_quad_enable(struct spi_nor *nor)
19991999

20002000
static const struct spi_nor_manufacturer *manufacturers[] = {
20012001
&spi_nor_atmel,
2002-
&spi_nor_catalyst,
20032002
&spi_nor_eon,
20042003
&spi_nor_esmt,
20052004
&spi_nor_everspin,

drivers/mtd/spi-nor/core.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,6 @@ struct sfdp {
631631

632632
/* Manufacturer drivers. */
633633
extern const struct spi_nor_manufacturer spi_nor_atmel;
634-
extern const struct spi_nor_manufacturer spi_nor_catalyst;
635634
extern const struct spi_nor_manufacturer spi_nor_eon;
636635
extern const struct spi_nor_manufacturer spi_nor_esmt;
637636
extern const struct spi_nor_manufacturer spi_nor_everspin;

0 commit comments

Comments
 (0)