cfi-flash cleanups

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 22 01:40:55 PDT 2015


CFI NOR flash still doesn't seem to be dead. This series has
several cleanups made while searching for a real bug which
is fixed with "mtd: cfi-flash: use unaligned accessor functions".

Sascha

----------------------------------------------------------------
Sascha Hauer (11):
      mtd: cfi-flash: We can print longlongs
      mtd: cfi-flash: save indention level
      mtd: cfi-flash: statically initialize instead of memset
      mtd: cfi-flash: replace ifdef with IS_ENABLED
      mtd: cfi-flash: remove unnecessary ifdefs
      mtd: cfi-flash: make flash_detect_width more readable
      mtd: cfi-flash: return 0 for success
      mtd: cfi-flash: turn some messages into vdbg
      mtd: cfi-flash: use unaligned accessor functions
      mtd: cfi-flash: Coding style cleanup
      mtd: cfi-flash: remove dead code

 drivers/mtd/nor/cfi_flash.c       | 671 ++++++++++++++++++--------------------
 drivers/mtd/nor/cfi_flash.h       | 138 ++++----
 drivers/mtd/nor/cfi_flash_amd.c   |  41 +--
 drivers/mtd/nor/cfi_flash_intel.c | 107 +++---
 4 files changed, 453 insertions(+), 504 deletions(-)



More information about the barebox mailing list