summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx
diff options
context:
space:
mode:
authorJuergen Beisert <juergen@kreuzholzen.de>2011-02-16 19:13:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-03 16:15:52 +0100
commit073f39c95ee79a694a6a88ae4ea7c3d4fefc676c (patch)
tree29740c7e0d4ae7eca30d18de30e5db1b4d0ca104 /arch/arm/mach-s3c24xx
parenta23e8a61a32f5fa5145e4f835baa5797af7b72e7 (diff)
downloadbarebox-073f39c95ee79a694a6a88ae4ea7c3d4fefc676c.tar.gz
barebox-073f39c95ee79a694a6a88ae4ea7c3d4fefc676c.tar.xz
MACH-S3C24XX: Add support for flash based BBT
The default configuration of the current 2.6.37 kernel uses a flash based BBT. So, barebox 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>
Diffstat (limited to 'arch/arm/mach-s3c24xx')
-rw-r--r--arch/arm/mach-s3c24xx/include/mach/s3c24x0-nand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/include/mach/s3c24x0-nand.h b/arch/arm/mach-s3c24xx/include/mach/s3c24x0-nand.h
index 05f9cf0fd1..d06287e4ff 100644
--- a/arch/arm/mach-s3c24xx/include/mach/s3c24x0-nand.h
+++ b/arch/arm/mach-s3c24xx/include/mach/s3c24x0-nand.h
@@ -45,6 +45,7 @@ extern void s3c24x0_nand_load_image(void*, int, int, int);
*/
struct s3c24x0_nand_platform_data {
uint32_t nand_timing; /**< value for the NFCONF register (timing bits only) */
+ char flash_bbt; /**< force a flash based BBT */
};
/**