[PATCH] mtd: >4GiB fixes

Sascha Hauer s.hauer at pengutronix.de
Tue Feb 9 01:55:41 PST 2016


This series has several fixes to make mtd devices >4GiB usable. We had
several places where we still used 32bit types, these are converted to
64bit types here. Also included is a fix for 8KiB Nand page size.

Sascha

----------------------------------------------------------------
Sascha Hauer (7):
      mtd: nand-bb: Fix 8k page size nands
      mtd: Fix mtdraw for Nand > 4GiB
      mtd: Make erase_info structs 64bit where necessary
      mtd: Fix mtd_op_read for devices >4GiB
      mtd: Fix mtd_op_erase for devices >4GiB
      mtd: Fix erasing of devices >4GiB
      mtd: mtdoob device: change name to have the chip name first

 drivers/mtd/core.c          | 17 +++++++--------
 drivers/mtd/mtdoob.c        |  2 +-
 drivers/mtd/mtdraw.c        | 53 ++++++++++++++++++++++++++++-----------------
 drivers/mtd/nand/nand-bb.c  |  4 ++--
 fs/devfs-core.c             |  2 +-
 fs/devfs.c                  |  2 +-
 fs/fs.c                     |  2 +-
 include/driver.h            |  4 ++--
 include/fs.h                |  4 ++--
 include/linux/mtd/mtd-abi.h |  8 +++----
 include/linux/mtd/mtd.h     |  8 +++----
 11 files changed, 59 insertions(+), 47 deletions(-)



More information about the barebox mailing list