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 canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1Pplt4-0001nY-6u for barebox@lists.infradead.org; Wed, 16 Feb 2011 18:14:08 +0000 From: Juergen Beisert Date: Wed, 16 Feb 2011 19:13:42 +0100 Message-Id: <1297880025-7184-18-git-send-email-jbe@pengutronix.de> In-Reply-To: <1297880025-7184-1-git-send-email-jbe@pengutronix.de> References: <1297880025-7184-1-git-send-email-jbe@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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 17/20] mini2440: Use a flash based BBT as the kernel also does To: barebox@lists.infradead.org Cc: Juergen Beisert From: Juergen Beisert The default configuration of the mini2440 in the current 2.6.37 kernel uses a flash based BBT. So, the barebox for the mini2440 must also use one, to be in sync with the kernel about bad blocks in the flash. Due to the used OOB layout, the generic BBT description coming with the framework can be used. Signed-off-by: Juergen Beisert --- arch/arm/boards/mini2440/mini2440.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/boards/mini2440/mini2440.c b/arch/arm/boards/mini2440/mini2440.c index ae48a51..ab309a0 100644 --- a/arch/arm/boards/mini2440/mini2440.c +++ b/arch/arm/boards/mini2440/mini2440.c @@ -55,7 +55,8 @@ static struct device_d sdram_dev = { }; static struct s3c24x0_nand_platform_data nand_info = { - .nand_timing = CALC_NFCONF_TIMING(A9M2440_TACLS, A9M2440_TWRPH0, A9M2440_TWRPH1) + .nand_timing = CALC_NFCONF_TIMING(A9M2440_TACLS, A9M2440_TWRPH0, A9M2440_TWRPH1), + .flash_bbt = 1, /* same as the kernel */ }; static struct device_d nand_dev = { -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox