public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Sameer" <x0081444@ti.com>
To: <linux-mtd@lists.infradead.org>
Subject: [PATCH] - NAND - Samsung LP nand feature support - nand_base.c upated
Date: Fri, 4 Jan 2008 20:53:05 +0530	[thread overview]
Message-ID: <00ed01c84ee5$b4928e40$ec8818ac@ent.ti.com> (raw)

Hi,
This patch add the Large page NAND feature support for Samsung nand flash.

Regards,
-Sameer


Signed-off-by: Sameer U <sameersu@ti.com>
---
 drivers/mtd/nand/nand_base.c |    4 ++++
 1 files changed, 4 insertions(+)

Index: linux-omap-git/drivers/mtd/nand/nand_base.c
===================================================================
--- linux-omap-git.orig/drivers/mtd/nand/nand_base.c
+++ linux-omap-git/drivers/mtd/nand/nand_base.c
@@ -2322,6 +2322,10 @@ static struct nand_flash_dev *nand_get_f
	chip->options &= ~NAND_CHIPOPTIONS_MSK;
	chip->options |= type->options & NAND_CHIPOPTIONS_MSK;

+	/* adding feature support for large page samsung nand */
+	if ((*maf_id == NAND_MFR_SAMSUNG) && (mtd->writesize > 512))
+		chip->options |= NAND_SAMSUNG_LP_OPTIONS;
+
	/*
	 * Set chip as a default. Board drivers can override it, if necessary
	 */

             reply	other threads:[~2008-01-04 15:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04 15:23 Sameer [this message]
2008-04-22 15:09 ` [PATCH] - NAND - Samsung LP nand feature support - nand_base.c upated David Woodhouse

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='00ed01c84ee5$b4928e40$ec8818ac@ent.ti.com' \
    --to=x0081444@ti.com \
    --cc=linux-mtd@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