[PATCH V2 0/3] Add MSystems Disk-On-Chip G3 support

Robert Jarzmik robert.jarzmik at free.fr
Thu Dec 22 10:51:19 EST 2011


This patchset brings support for M-Systems disk-on-chip G3
chips. Almost all code is taken from linux kernel (bitrev,
bch, docg3), and slightly amended for barebox.

This patchset relies on a previous patchset "drivers/mtd:
add a core" included in barebox.git/next, and is rebased on
top of it.

This patchset won't bring hopefully, as it doesn't change
anything outside of its own scope.

Cheers.

Robert Jarzmik (3):
  lib: add BCH encoding/decoding
  lib: add bitrev utility
  drivers/mtd: add docg3 chip

 drivers/mtd/Kconfig          |    1 +
 drivers/mtd/Makefile         |    1 +
 drivers/mtd/devices/Kconfig  |   16 +
 drivers/mtd/devices/Makefile |    5 +
 drivers/mtd/devices/docg3.c  | 1196 ++++++++++++++++++++++++++++++++++++
 drivers/mtd/devices/docg3.h  |  283 +++++++++
 include/linux/bch.h          |   79 +++
 include/linux/bitrev.h       |   16 +
 lib/Kconfig                  |    7 +
 lib/Makefile                 |    2 +
 lib/bch.c                    | 1366 ++++++++++++++++++++++++++++++++++++++++++
 lib/bitrev.c                 |   68 +++
 12 files changed, 3040 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mtd/devices/Kconfig
 create mode 100644 drivers/mtd/devices/Makefile
 create mode 100644 drivers/mtd/devices/docg3.c
 create mode 100644 drivers/mtd/devices/docg3.h
 create mode 100644 include/linux/bch.h
 create mode 100644 include/linux/bitrev.h
 create mode 100644 lib/bch.c
 create mode 100644 lib/bitrev.c

-- 
1.7.5.4




More information about the barebox mailing list