sharpsl.h 550 B

1234567891011121314151617181920
  1. /*
  2. * SharpSL NAND support
  3. *
  4. * Copyright (C) 2008 Dmitry Baryshkov
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <linux/mtd/nand.h>
  11. #include <linux/mtd/nand_ecc.h>
  12. #include <linux/mtd/partitions.h>
  13. struct sharpsl_nand_platform_data {
  14. struct nand_bbt_descr *badblock_pattern;
  15. const struct mtd_ooblayout_ops *ecc_layout;
  16. struct mtd_partition *partitions;
  17. unsigned int nr_partitions;
  18. };