mx6qsabreauto: Pass the correct parallel NOR width
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 15 Dec 2016 18:00:11 +0000 (16:00 -0200)
committerStefano Babic <sbabic@denx.de>
Fri, 27 Jan 2017 09:30:53 +0000 (10:30 +0100)
On mx6qsabreauto the parallel NOR width is 16 bits, so pass configure
CONFIG_SYS_FLASH_CFI_WIDTH correctly so that the CFI driver does not
use 8 bits by default.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
include/configs/mx6qsabreauto.h

index f849f3420a5e08ba402a5b30c0ea35699bdd9e3b..7d68633c78d949778b49b8f55e882c110d02b05a 100644 (file)
@@ -38,6 +38,7 @@
 #define CONFIG_FLASH_CFI_DRIVER         /* Use drivers/cfi_flash.c */
 #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* Use buffered writes*/
 #define CONFIG_SYS_FLASH_EMPTY_INFO
+#define CONFIG_SYS_FLASH_CFI_WIDTH     FLASH_CFI_16BIT
 
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 #if defined(CONFIG_ENV_IS_IN_MMC)