From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp6-g21.free.fr ([2a01:e0c:1:1599::15]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RaAIh-00047H-Dj for barebox@lists.infradead.org; Mon, 12 Dec 2011 18:08:32 +0000 From: Robert Jarzmik Date: Mon, 12 Dec 2011 19:08:12 +0100 Message-Id: <1323713295-21458-1-git-send-email-robert.jarzmik@free.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 0/3] drivers/mtd: add support for docg3 chips To: barebox@lists.infradead.org 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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox