From 8fca2d8cb84fb039bb41061f5f5fd9f31cd596c9 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 8 May 2015 19:07:13 +0200 Subject: 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 --- include/configs/colibri_vf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/colibri_vf.h') 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 -- cgit v1.1