[PATCH 0/3] drivers/mtd: add support for docg3 chips

Robert Jarzmik robert.jarzmik at free.fr
Mon Dec 12 13:08:12 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".

Cheers.

--
Robert

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

 drivers/mtd/Kconfig          |    1 +
 drivers/mtd/devices/Kconfig  |   16 +
 drivers/mtd/devices/Makefile |    5 +
 drivers/mtd/devices/docg3.c  | 1192 ++++++++++++++++++++++++++++++++++++
 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 +++
 11 files changed, 3035 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