omap3: nand: ecc layout select from board file
This patch makes it possible to select sw or hw (different layout options) ecc scheme supported by omap nand driver. Signed-off-by: Vimal Singh <vimalsingh@ti.com> Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
317379a975
commit
f3d73f362d
4 changed files with 20 additions and 15 deletions
|
@ -8,6 +8,7 @@
|
|||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <plat/gpmc.h>
|
||||
#include <linux/mtd/partitions.h>
|
||||
|
||||
enum nand_io {
|
||||
|
@ -31,6 +32,7 @@ struct omap_nand_platform_data {
|
|||
enum nand_io xfer_type;
|
||||
unsigned long phys_base;
|
||||
int devsize;
|
||||
enum omap_ecc ecc_opt;
|
||||
};
|
||||
|
||||
/* minimum size for IO mapping */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue