mtd: remove drivers/mtd/mw_eeprom.c
PATCH 1/1 mtd: remove drivers/mtd/mw_eeprom.c
drivers/mtd/mw_eeprom.c contains code that never worked. mw_eeprom_write() and mw_eeprom_read() have incorrect loop conditions:
while (len <= 2) {CONFIG_MW_EEPROM is not set anywhere. So let's simply drop the module.
Signed-off-by Heinrich Schuchardt <[email protected]>
--- drivers/mtd/Makefile | 1 - drivers/mtd/mw_eeprom.c | 238 ---------------------------------------- 2 files changed, 239 deletions(-) delete mode 100644 drivers/mtd/mw_eeprom.c
drivers/mtd/Makefile +0 -1
@@ -11,7 +11,6 @@ mtd-$(CONFIG_ALTERA_QSPI) += altera_qspi.o mtd-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o mtd-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o mtd-$(CONFIG_FLASH_CFI_LEGACY) += jedec_flash.o -mtd-$(CONFIG_MW_EEPROM) += mw_eeprom.o mtd-$(CONFIG_FLASH_PIC32) += pic32_flash.o mtd-$(CONFIG_ST_SMI) += st_smi.o mtd-$(CONFIG_STM32_FLASH) += stm32_flash.o
drivers/mtd/mw_eeprom.c deleted +0 -238
238 lines not on this page · raw message
--
2.29.2
PATCH 1/1 mtd: remove drivers/mtd/mw_eeprom.c
Quoted 8 lines · Heinrich Schuchardt
drivers/mtd/mw_eeprom.ccontains code that never worked.mw_eeprom_write()andmw_eeprom_read()have incorrect loop conditions:while (len <= 2) {
CONFIG_MW_EEPROMis not set anywhere. So let's simply drop the module.Signed-off-by Heinrich Schuchardt <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210119/21ae330d/attachment.sig>