[U-Boot] [PATCH 0/4] Drop unused legacy DataFlash code

Tuomas Tynkkynen tuomas.tynkkynen at iki.fi
Tue Oct 10 18:59:39 UTC 2017


These patches remove:

  CONFIG_ENV_IS_IN_DATAFLASH
  CONFIG_ATMEL_DATAFLASH_SPI
  CONFIG_HAS_DATAFLASH

Last user of these went away in July, in commit fdc77189994b2ac794862
("board: usb_a9263: Update to support DT and DM"). AFAICT their
replacements using DM + DT are:

  CONFIG_ENV_IS_IN_SPI_FLASH
  CONFIG_SPI_FLASH_DATAFLASH

Tuomas Tynkkynen (4):
  env: Drop CONFIG_ENV_IS_IN_DATAFLASH
  spi: Drop CONFIG_ATMEL_DATAFLASH_SPI
  Drop CONFIG_HAS_DATAFLASH
  common: Remove genimg_get_image()

 README                                             |   7 -
 arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c |   2 +-
 arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c |   2 +-
 arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c |   2 +-
 .../mach-at91/arm926ejs/at91sam9m10g45_devices.c   |   2 +-
 arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c  |   2 +-
 board/atmel/at91sam9260ek/Makefile                 |   1 -
 board/atmel/at91sam9260ek/partition.c              |  26 -
 board/atmel/at91sam9261ek/Makefile                 |   1 -
 board/atmel/at91sam9261ek/partition.c              |  26 -
 board/atmel/at91sam9263ek/Makefile                 |   1 -
 board/atmel/at91sam9263ek/partition.c              |  25 -
 board/atmel/at91sam9rlek/Makefile                  |   1 -
 board/atmel/at91sam9rlek/partition.c               |  25 -
 board/esd/meesc/Makefile                           |   1 -
 board/esd/meesc/partition.c                        |  23 -
 board/mini-box/picosam9g45/picosam9g45.c           |   3 -
 board/ronetix/pm9261/Makefile                      |   1 -
 board/ronetix/pm9261/partition.c                   |  33 --
 board/ronetix/pm9263/Makefile                      |   1 -
 board/ronetix/pm9263/partition.c                   |  33 --
 board/siemens/corvus/board.c                       |   3 -
 cmd/flash.c                                        |  33 +-
 cmd/mem.c                                          | 106 +---
 cmd/nvedit.c                                       |   3 +-
 common/board_r.c                                   |  15 -
 common/bootm.c                                     |   3 -
 common/image-fdt.c                                 |   3 -
 common/image.c                                     |  89 ----
 drivers/mtd/Makefile                               |   2 -
 drivers/mtd/at45.c                                 | 545 ---------------------
 drivers/mtd/dataflash.c                            | 448 -----------------
 drivers/spi/Makefile                               |   1 -
 drivers/spi/atmel_dataflash_spi.c                  | 184 -------
 env/Kconfig                                        |  15 -
 env/Makefile                                       |   1 -
 env/dataflash.c                                    |  75 ---
 env/env.c                                          |   4 +-
 include/dataflash.h                                | 205 --------
 include/environment.h                              |   1 -
 include/image.h                                    |   1 -
 scripts/config_whitelist.txt                       |   5 -
 tools/Makefile                                     |   1 -
 43 files changed, 18 insertions(+), 1943 deletions(-)
 delete mode 100644 board/atmel/at91sam9260ek/partition.c
 delete mode 100644 board/atmel/at91sam9261ek/partition.c
 delete mode 100644 board/atmel/at91sam9263ek/partition.c
 delete mode 100644 board/atmel/at91sam9rlek/partition.c
 delete mode 100644 board/esd/meesc/partition.c
 delete mode 100644 board/ronetix/pm9261/partition.c
 delete mode 100644 board/ronetix/pm9263/partition.c
 delete mode 100644 drivers/mtd/at45.c
 delete mode 100644 drivers/mtd/dataflash.c
 delete mode 100644 drivers/spi/atmel_dataflash_spi.c
 delete mode 100644 env/dataflash.c
 delete mode 100644 include/dataflash.h

-- 
2.14.2



More information about the U-Boot mailing list