Thread (16 messages) 16 messages, 3 authors, 2010-12-22

[PATCH 1/7] omap3630: nand: fix device size to work in polled mode

DORMANTno replies

From: Ghorai, Sukumar <hidden>
Date: 2010-12-22 09:24:07
Also in: linux-omap

Revision v6 of 23 in this series.

Revisions (23)
  1. v2 [diff vs current]
  2. v3 [diff vs current]
  3. v3 [diff vs current]
  4. v3 [diff vs current]
  5. v4 [diff vs current]
  6. v4 [diff vs current]
  7. v4 [diff vs current]
  8. v4 [diff vs current]
  9. v4 [diff vs current]
  10. v4 [diff vs current]
  11. v4 [diff vs current]
  12. v5 [diff vs current]
  13. v5 [diff vs current]
  14. v5 [diff vs current]
  15. v5 [diff vs current]
  16. v5 [diff vs current]
  17. v5 [diff vs current]
  18. v6 [diff vs current]
  19. v6 [diff vs current]
  20. v6 current
  21. v7 [diff vs current]
  22. v8 [diff vs current]
  23. v9 [diff vs current]
-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Saturday, December 18, 2010 5:34 AM
To: Ghorai, Sukumar
Cc: linux-omap at vger.kernel.org; linux-mtd at lists.infradead.org; linux-arm-
kernel at lists.infradead.org
Subject: Re: [PATCH 1/7] omap3630: nand: fix device size to work in polled
mode

* Sukumar Ghorai [off-list ref] [101126 07:25]:
quoted
zoom3 and 3630-sdp having the x16 nand device.
This patch configure gpmc as x16 and select the currect function in
driver
quoted
for polled mode (without prefetch enable) transfer.

Signed-off-by: Sukumar Ghorai <redacted>
---
 arch/arm/mach-omap2/board-flash.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-flash.c b/arch/arm/mach-
omap2/board-flash.c
quoted
index fd38c05..001c605 100644
--- a/arch/arm/mach-omap2/board-flash.c
+++ b/arch/arm/mach-omap2/board-flash.c
@@ -145,6 +145,9 @@ __init board_nand_init(struct mtd_partition
*nand_parts, u8 nr_parts, u8 cs)
quoted
 	board_nand_data.parts		= nand_parts;
 	board_nand_data.nr_parts		= nr_parts;

+	if (cpu_is_omap3630())
+		board_nand_data.devsize = 1;
+
 	gpmc_nand_init(&board_nand_data);
 }
 #else
I guess this is board specific for the size, not omap specific?
[Ghorai] Agree, the NAND type (i.e. x8 NAND or x16 NAND) is a board specific,
So I will change the definition of board_nand_init() to pass the devsize form board file.
And I will submit the patch-series again.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help