The main intension of these patches is to separate the
core flash code and flash-to-spi drivers interface code.

This gives proper enhancement for adding new features like
MTD Core, SPI NOR framework.

sf_ops: Core spi-flash handling (non-dm, becuase sharing code)
sf_probe: flash-to-spi driver interface (dm driven)

Changes for v5, v4:
        - Rebase to master

Jagan Teki (14):
  sf: spi_flash_validate_params => spi_flash_scan
  sf: Move spi_flash_scan code to sf_ops
  sf: Move read_id code to sf_ops
  sf: probe: Code cleanup
  sf: Use static for file-scope functions
  sf: Fix Makefile
  sf: Use simple name for register access functions
  sf: Use flash function pointers in dm_spi_flash_ops
  sf: Flash power up read-only based on idcode0
  sf: Use static for file-scope functions
  sf: Remove unneeded header includes
  sf: probe: Use spi_flash_scan in dm-spi-flash
  sf: Re-factorize spi_flash_probe_tail code
  dm-sf: Re-factorize spi_flash_std_probe code

 drivers/mtd/spi/Makefile      |   6 +-
 drivers/mtd/spi/sf_internal.h |  52 ++---
 drivers/mtd/spi/sf_ops.c      | 380 ++++++++++++++++++++++++++++++++--
 drivers/mtd/spi/sf_probe.c    | 459 ++++++------------------------------------
 include/spi_flash.h           |  13 --
 5 files changed, 436 insertions(+), 474 deletions(-)

-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to