diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2011-06-03 16:24:03 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-06-13 09:49:07 -0400 |
commit | 9d5ae7cd6cb9ead43336fec1094184d1dc740fbd (patch) | |
tree | 47af45b9f90894c45d339addb9f02d39229b2598 /arch/arm/mach-omap2 | |
parent | 04830fccdcafa7e0ea913990ae56437253553fef (diff) |
omap: pandora: fix NAND support
Commit d5ce2b65 "omap3630: nand: fix device size to work in polled mode"
changed values for .devsize in nand platform data, now we have to pass
NAND_BUSWIDTH_16 instead of '1' to select 16bit NAND.
Update pandora's platform data accordingly, also specify appropriate
transfer type.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 1d10736c6d3c..a3d655c0a49b 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -86,7 +86,8 @@ static struct mtd_partition omap3pandora_nand_partitions[] = { | |||
86 | 86 | ||
87 | static struct omap_nand_platform_data pandora_nand_data = { | 87 | static struct omap_nand_platform_data pandora_nand_data = { |
88 | .cs = 0, | 88 | .cs = 0, |
89 | .devsize = 1, /* '0' for 8-bit, '1' for 16-bit device */ | 89 | .devsize = NAND_BUSWIDTH_16, |
90 | .xfer_type = NAND_OMAP_PREFETCH_DMA, | ||
90 | .parts = omap3pandora_nand_partitions, | 91 | .parts = omap3pandora_nand_partitions, |
91 | .nr_parts = ARRAY_SIZE(omap3pandora_nand_partitions), | 92 | .nr_parts = ARRAY_SIZE(omap3pandora_nand_partitions), |
92 | }; | 93 | }; |