Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(652)

Unified Diff: drivers/mtd/nand/nand_base.c

Issue 6623073: Chromium: arm: tegra: Add NAND support (Closed) Base URL: http://git.chromium.org/git/u-boot-next.git@chromeos-v2010.09
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« board/tegra2/generic/Makefile ('K') | « board/tegra2/harmony/Makefile ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/mtd/nand/nand_base.c
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 7d178468adbe4fa0954b1d5f932a35c1f0deafdf..2b3db6e9f7b96963a2edfcca1cb33489bb13cd70 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -2947,8 +2947,10 @@ int nand_scan_tail(struct mtd_info *mtd)
break;
case NAND_ECC_NONE:
+#ifndef CONFIG_NAND_TEGRA2
Tom Warren 2011/03/08 20:43:08 Are we using NAND_ECC_NONE? If so, why, if it's no
printk(KERN_WARNING "NAND_ECC_NONE selected by board driver. "
"This is not recommended !!\n");
+#endif
chip->ecc.read_page = nand_read_page_raw;
chip->ecc.write_page = nand_write_page_raw;
chip->ecc.read_oob = nand_read_oob_std;
« board/tegra2/generic/Makefile ('K') | « board/tegra2/harmony/Makefile ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698