public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mxc_nand: fixed some typos (cosmetic)
@ 2011-07-06  7:40 helmut.raiger at hale.at
  2011-07-20  6:53 ` Helmut Raiger
  2011-08-02 20:12 ` Scott Wood
  0 siblings, 2 replies; 4+ messages in thread
From: helmut.raiger at hale.at @ 2011-07-06  7:40 UTC (permalink / raw)
  To: u-boot

From: Helmut Raiger <helmut.raiger@hale.at>

Signed-off-by: Helmut Raiger <helmut.raiger@hale.at>
---
 drivers/mtd/nand/mxc_nand.c |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 2a8dd7e..78e07cc 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -350,7 +350,7 @@ static void send_addr(struct mxc_nand_host *host, uint16_t addr)
 }
 
 /*
- * This function requests the NANDFC to initate the transfer
+ * This function requests the NANDFC to initiate the transfer
  * of data currently in the NANDFC RAM buffer to the NAND device.
  */
 static void send_prog_page(struct mxc_nand_host *host, uint8_t buf_id,
@@ -394,7 +394,7 @@ static void send_prog_page(struct mxc_nand_host *host, uint8_t buf_id,
 }
 
 /*
- * Requests NANDFC to initated the transfer of data from the
+ * Requests NANDFC to initiate the transfer of data from the
  * NAND device into in the NANDFC ram buffer.
  */
 static void send_read_page(struct mxc_nand_host *host, uint8_t buf_id,
@@ -637,7 +637,7 @@ static int mxc_nand_read_page_syndrome(struct mtd_info *mtd,
 	MTDDEBUG(MTD_DEBUG_LEVEL1, "Reading page %u to buf %p oob %p\n",
 	      host->page_addr, buf, oob);
 
-	/* first read out the data area and the available portion of OOB */
+	/* first read the data area and the available portion of OOB */
 	for (n = 0; eccsteps; n++, eccsteps--, p += eccsize) {
 		int stat;
 
@@ -1179,7 +1179,7 @@ void mxc_nand_command(struct mtd_info *mtd, unsigned command,
 			/*
 			 * before sending SEQIN command for partial write,
 			 * we need read one page out. FSL NFC does not support
-			 * partial write. It alway send out 512+ecc+512+ecc ...
+			 * partial write. It always sends out 512+ecc+512+ecc
 			 * for large page nand flash. But for small page nand
 			 * flash, it does support SPARE ONLY operation.
 			 */
@@ -1209,7 +1209,7 @@ void mxc_nand_command(struct mtd_info *mtd, unsigned command,
 		send_prog_page(host, 0, host->spare_only);
 
 		if (host->pagesize_2k && !is_mxc_nfc_11()) {
-			/* data in 4 areas datas */
+			/* data in 4 areas */
 			send_prog_page(host, 1, host->spare_only);
 			send_prog_page(host, 2, host->spare_only);
 			send_prog_page(host, 3, host->spare_only);
@@ -1225,10 +1225,9 @@ void mxc_nand_command(struct mtd_info *mtd, unsigned command,
 	if (column != -1) {
 		/*
 		 * MXC NANDFC can only perform full page+spare or
-		 * spare-only read/write.  When the upper layers
-		 * layers perform a read/write buf operation,
-		 * we will used the saved column adress to index into
-		 * the full page.
+		 * spare-only read/write. When the upper layers perform
+		 * a read/write buffer operation, we will use the saved
+		 * column address to index into the full page.
 		 */
 		send_addr(host, 0);
 		if (host->pagesize_2k)
@@ -1377,7 +1376,7 @@ int board_nand_init(struct nand_chip *this)
 	/* Unlock Block Command for given address range */
 	writew(0x4, &host->regs->nfc_wrprot);
 
-	/* NAND bus width determines access funtions used by upper layer */
+	/* NAND bus width determines access functions used by upper layer */
 	if (is_16bit_nand())
 		this->options |= NAND_BUSWIDTH_16;
 
-- 
1.7.4.4



--
Scanned by MailScanner.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] mxc_nand: fixed some typos (cosmetic)
  2011-07-06  7:40 [U-Boot] [PATCH] mxc_nand: fixed some typos (cosmetic) helmut.raiger at hale.at
@ 2011-07-20  6:53 ` Helmut Raiger
  2011-07-20 17:47   ` Scott Wood
  2011-08-02 20:12 ` Scott Wood
  1 sibling, 1 reply; 4+ messages in thread
From: Helmut Raiger @ 2011-07-20  6:53 UTC (permalink / raw)
  To: u-boot

I know it's only typos, but could someone ack please.

Helmut


--
Scanned by MailScanner.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] mxc_nand: fixed some typos (cosmetic)
  2011-07-20  6:53 ` Helmut Raiger
@ 2011-07-20 17:47   ` Scott Wood
  0 siblings, 0 replies; 4+ messages in thread
From: Scott Wood @ 2011-07-20 17:47 UTC (permalink / raw)
  To: u-boot

On Wed, 20 Jul 2011 08:53:48 +0200
Helmut Raiger <helmut.raiger@hale.at> wrote:

> I know it's only typos, but could someone ack please.
> 
> Helmut

I'll apply it soon, sorry for the delay.

-Scott

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] mxc_nand: fixed some typos (cosmetic)
  2011-07-06  7:40 [U-Boot] [PATCH] mxc_nand: fixed some typos (cosmetic) helmut.raiger at hale.at
  2011-07-20  6:53 ` Helmut Raiger
@ 2011-08-02 20:12 ` Scott Wood
  1 sibling, 0 replies; 4+ messages in thread
From: Scott Wood @ 2011-08-02 20:12 UTC (permalink / raw)
  To: u-boot

On Wed, Jul 06, 2011 at 09:40:28AM +0200, helmut.raiger at hale.at wrote:
> From: Helmut Raiger <helmut.raiger@hale.at>
> 
> Signed-off-by: Helmut Raiger <helmut.raiger@hale.at>
> ---
>  drivers/mtd/nand/mxc_nand.c |   19 +++++++++----------
>  1 files changed, 9 insertions(+), 10 deletions(-)

Applied to u-boot-nand-flash next

-Scott

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-02 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06  7:40 [U-Boot] [PATCH] mxc_nand: fixed some typos (cosmetic) helmut.raiger at hale.at
2011-07-20  6:53 ` Helmut Raiger
2011-07-20 17:47   ` Scott Wood
2011-08-02 20:12 ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox