
6 Jun
2011
6 Jun
'11
10:38 p.m.
On Fri, May 27, 2011 at 10:00:07AM -0400, Alex Waterman wrote:
diff --git a/nand_spl/nand_boot.c b/nand_spl/nand_boot.c index 9545a9a..725356f 100644 --- a/nand_spl/nand_boot.c +++ b/nand_spl/nand_boot.c @@ -80,9 +80,10 @@ static int nand_command(struct mtd_info *mtd, int block, int page, int offs, u8 cmd = NAND_CMD_READ0; }
+#ifdef CONFIG_SYS_NDFC_16BIT /* Shift the offset from byte addressing to word addressing. */
- if (this->options & NAND_BUSWIDTH_16)
offs >>= 1;
- offs >>= 1;
+#endif
This is not an NDFC-specific file.
-Scott