diff options
author | Juergen Beisert <juergen@kreuzholzen.de> | 2011-02-16 19:13:42 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-03 16:15:55 +0100 |
commit | 955f13760b42b0d601b49101211800353607fb86 (patch) | |
tree | 06884a567407196caaad0646977c03f99ba8e910 | |
parent | 5aa7b6a683e727887cf54a040834df284d67e370 (diff) | |
download | barebox-955f13760b42b0d601b49101211800353607fb86.tar.gz barebox-955f13760b42b0d601b49101211800353607fb86.tar.xz |
mini2440: Use a flash based BBT as the kernel also does
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 <juergen@kreuzholzen.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | 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 ae48a51b09..ab309a0a8f 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 = { |