linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/7] omap3630: nand: fix device size to work in polled mode
Date: Fri, 17 Dec 2010 16:03:45 -0800	[thread overview]
Message-ID: <20101218000344.GV5941@atomide.com> (raw)
In-Reply-To: <1290785677-16005-2-git-send-email-s-ghorai@ti.com>

* Sukumar Ghorai <s-ghorai@ti.com> [101126 07:25]:
> zoom3 and 3630-sdp having the x16 nand device.
> This patch configure gpmc as x16 and select the currect function in driver
> for polled mode (without prefetch enable) transfer.
> 
> Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com>
> ---
>  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
> 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)
>  	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?

Regards,

Tony

  reply	other threads:[~2010-12-18  0:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 15:34 [PATCH v6 0/7] nand prefetch-irq support and ecc layout chanage Sukumar Ghorai
2010-11-26 15:34 ` [PATCH 1/7] omap3630: nand: fix device size to work in polled mode Sukumar Ghorai
2010-12-18  0:03   ` Tony Lindgren [this message]
2010-12-22  9:24     ` Ghorai, Sukumar
2010-11-26 15:34 ` [PATCH 2/7] omap3: nand: configurable transfer type per board Sukumar Ghorai
2010-12-18  0:08   ` Tony Lindgren
2010-12-22  7:52     ` Ghorai, Sukumar
2010-11-26 15:34 ` [PATCH v6 3/7] omap: gpmc: enable irq mode in gpmc Sukumar Ghorai
2010-12-18  0:09   ` Tony Lindgren
2010-12-22  8:00     ` Ghorai, Sukumar
2010-11-26 15:34 ` [PATCH v6 4/7] omap3: nand: prefetch in irq mode support Sukumar Ghorai
2010-11-26 15:34 ` [PATCH v6 5/7] omap3: nand: configurable fifo threshold to gain the throughput Sukumar Ghorai
2010-11-26 15:34 ` [PATCH v6 6/7] omap: nand: ecc layout select from board file Sukumar Ghorai
2010-11-26 15:34 ` [PATCH v6 7/7] omap: nand: making ecc layout as compatible with romcode ecc Sukumar Ghorai
2010-12-19 21:45 ` [PATCH v6 0/7] nand prefetch-irq support and ecc layout chanage Charles Manning
2010-12-22  7:43   ` Ghorai, Sukumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101218000344.GV5941@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).