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

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: Remove some unexpected lines of code and files 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
« no previous file with comments | « board/tegra2/generic/nand/tegra2_nand.c ('k') | include/configs/chromeos/tegra2/harmony/common.h » ('j') | 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..b9fff146427121a18049c72360de2c5d353a490a 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_TEGRA2_NAND
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;
« no previous file with comments | « board/tegra2/generic/nand/tegra2_nand.c ('k') | include/configs/chromeos/tegra2/harmony/common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698