summaryrefslogtreecommitdiff
path: root/include/configs/colibri_vf.h
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2015-05-08 19:07:13 +0200
committerScott Wood <scottwood@freescale.com>2015-05-24 14:27:46 -0500
commit8fca2d8cb84fb039bb41061f5f5fd9f31cd596c9 (patch)
treebfc29cce0316a7610412e3a3d3e160ed043f6c26 /include/configs/colibri_vf.h
parent080a71e8e9fe917ba82bdde2251eb0d4dd68cb5c (diff)
downloadu-boot-imx-8fca2d8cb84fb039bb41061f5f5fd9f31cd596c9.zip
u-boot-imx-8fca2d8cb84fb039bb41061f5f5fd9f31cd596c9.tar.gz
u-boot-imx-8fca2d8cb84fb039bb41061f5f5fd9f31cd596c9.tar.bz2
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/colibri_vf.h')
-rw-r--r--include/configs/colibri_vf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index b3c73bb..804291d 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -50,6 +50,7 @@
/* NAND support */
#define CONFIG_CMD_NAND
+#define CONFIG_SYS_NAND_ONFI_DETECTION
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR