diff options
author | Stefan Agner <stefan@agner.ch> | 2015-05-08 19:07:13 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-05-24 14:27:46 -0500 |
commit | 8fca2d8cb84fb039bb41061f5f5fd9f31cd596c9 (patch) | |
tree | bfc29cce0316a7610412e3a3d3e160ed043f6c26 /include | |
parent | 080a71e8e9fe917ba82bdde2251eb0d4dd68cb5c (diff) | |
download | u-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')
-rw-r--r-- | include/configs/colibri_vf.h | 1 | ||||
-rw-r--r-- | include/configs/vf610twr.h | 1 |
2 files changed, 2 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 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 |