summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2015-04-03 17:26:13 +0200
committerStefan Agner <stefan@agner.ch>2015-04-14 09:08:08 +0200
commit7831b68f12dc3acf9abd25624f742d638d5f522f (patch)
tree48a5d7baa13a588d085743540492742f5cacced2 /include
parent4c8c050fd83fafe7677bb44babd89f264cb7850d (diff)
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.
Diffstat (limited to 'include')
-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 621aa13484..aa310411bf 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