summaryrefslogtreecommitdiff
path: root/include/configs/vf610twr.h
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2015-05-08 17:07:13 (GMT)
committerScott Wood <scottwood@freescale.com>2015-05-24 19:27:46 (GMT)
commit8fca2d8cb84fb039bb41061f5f5fd9f31cd596c9 (patch)
treebfc29cce0316a7610412e3a3d3e160ed043f6c26 /include/configs/vf610twr.h
parent080a71e8e9fe917ba82bdde2251eb0d4dd68cb5c (diff)
downloadu-boot-8fca2d8cb84fb039bb41061f5f5fd9f31cd596c9.tar.xz
mtd: vf610_nfc: enable ONFI detection
This changes enable ONFI detection. The Read ID command now allows one address byte which is needed for ONFI detection. To read the ONFI parameter page, the NAND_CMD_PARAM need to be supported. The CMD code enables one command and one address byte along with reading data from flash using R/B#, as specified by ONFI. Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'include/configs/vf610twr.h')
-rw-r--r--include/configs/vf610twr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h
index 621aa13..aa31041 100644
--- a/include/configs/vf610twr.h
+++ b/include/configs/vf610twr.h
@@ -48,6 +48,7 @@
/* NAND support */
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
+#define CONFIG_SYS_NAND_ONFI_DETECTION
#ifdef CONFIG_CMD_NAND
#define CONFIG_USE_ARCH_MEMCPY