2008-10-16 08:43:48 -06:00
|
|
|
/*
|
|
|
|
* 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;
|
2016-02-03 11:58:11 -07:00
|
|
|
const struct mtd_ooblayout_ops *ecc_layout;
|
2008-10-16 08:43:48 -06:00
|
|
|
struct mtd_partition *partitions;
|
|
|
|
unsigned int nr_partitions;
|
|
|
|
};
|