From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YL6jd-0002pX-FJ for barebox@lists.infradead.org; Tue, 10 Feb 2015 09:03:59 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YL6jH-0000Jk-8w for barebox@lists.infradead.org; Tue, 10 Feb 2015 10:03:35 +0100 Received: from sha by dude.hi.pengutronix.de with local (Exim 4.84) (envelope-from ) id 1YL6jH-0001uK-7s for barebox@lists.infradead.org; Tue, 10 Feb 2015 10:03:35 +0100 From: Sascha Hauer Date: Tue, 10 Feb 2015 10:03:28 +0100 Message-Id: <1423559014-3783-1-git-send-email-s.hauer@pengutronix.de> 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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2] nand-bb fixes To: Barebox List Changes: - in nand_bb_erase we have to use '>' instead of '>=' to test if we must bail out - Add patch to fix testing for a bad block when reading from the device. - Add patch to also print the raw position when debugging. Sascha ---------------------------------------------------------------- Sascha Hauer (6): mtd: nand: omap: Fix OMAP_ECC_BCH8_CODE_HW ecc mode mtd: Fix allowing to erase bad blocks on partitions mtd: nand-bb: Fix accesses beyond device mtd: nand-bb: fix erasing bb devices with bad blocks mtd: nand-bb: Fix test for bad block when reading mtd: nand-bb: Also print raw position in debug messages drivers/mtd/core.c | 6 ++--- drivers/mtd/nand/nand-bb.c | 48 ++++++++++++++++++++++++++++++++++----- drivers/mtd/nand/nand_omap_gpmc.c | 4 ++-- 3 files changed, 47 insertions(+), 11 deletions(-) _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox