diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2008-12-10 16:49:12 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-12-10 16:49:12 +0100 |
commit | c4956ed6fab26347ab1a712727da84b2501ab2dd (patch) | |
tree | 6ac59589a722faaa70a1865ff8050c5274ba0216 /include | |
parent | [MTD] remove private wrapper of endian helpers in rfd_ftl.c (diff) | |
parent | [MTD] sharpsl-nand: move registration to board code (diff) | |
download | linux-c4956ed6fab26347ab1a712727da84b2501ab2dd.tar.xz linux-c4956ed6fab26347ab1a712727da84b2501ab2dd.zip |
Merge branch 'misc/mtd/sharpsl-nand' of git://git.kernel.org/pub/scm/linux/kernel/git/lumag/tosa-2.6
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/sharpsl.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h new file mode 100644 index 000000000000..25f4d2a845c1 --- /dev/null +++ b/include/linux/mtd/sharpsl.h @@ -0,0 +1,20 @@ +/* + * SharpSL NAND support + * + * Copyright (C) 2008 Dmitry Baryshkov + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include <linux/mtd/nand.h> +#include <linux/mtd/nand_ecc.h> +#include <linux/mtd/partitions.h> + +struct sharpsl_nand_platform_data { + struct nand_bbt_descr *badblock_pattern; + struct nand_ecclayout *ecc_layout; + struct mtd_partition *partitions; + unsigned int nr_partitions; +}; |