* [PATCH] omap: pandora: fix NAND support
@ 2011-06-03 20:24 Grazvydas Ignotas
2011-06-13 13:49 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Grazvydas Ignotas @ 2011-06-03 20:24 UTC (permalink / raw)
To: linux-omap; +Cc: linux-arm-kernel, Tony Lindgren, Grazvydas Ignotas
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>
---
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 1d10736..a3d655c 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[] = {
static struct omap_nand_platform_data pandora_nand_data = {
.cs = 0,
- .devsize = 1, /* '0' for 8-bit, '1' for 16-bit device */
+ .devsize = NAND_BUSWIDTH_16,
+ .xfer_type = NAND_OMAP_PREFETCH_DMA,
.parts = omap3pandora_nand_partitions,
.nr_parts = ARRAY_SIZE(omap3pandora_nand_partitions),
};
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] omap: pandora: fix NAND support
2011-06-03 20:24 [PATCH] omap: pandora: fix NAND support Grazvydas Ignotas
@ 2011-06-13 13:49 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2011-06-13 13:49 UTC (permalink / raw)
To: Grazvydas Ignotas; +Cc: linux-omap, linux-arm-kernel
* Grazvydas Ignotas <notasas@gmail.com> [110603 13:20]:
> 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.
Thanks adding to fixes.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-13 13:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-03 20:24 [PATCH] omap: pandora: fix NAND support Grazvydas Ignotas
2011-06-13 13:49 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).