[U-Boot] [PATCH 2/3] mx6qsabreauto: Pass the correct parallel NOR width

Fabio Estevam fabio.estevam at nxp.com
Thu Dec 15 16:23:13 CET 2016


On mx6qsabreauto the parallel NOR width is 16 bits, so configure
CONFIG_SYS_FLASH_CFI_WIDTH correctly so that the CFI driver does not
use 8-bit withd by default.

Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
---
 include/configs/mx6qsabreauto.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h
index f849f34..7d68633 100644
--- a/include/configs/mx6qsabreauto.h
+++ b/include/configs/mx6qsabreauto.h
@@ -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)
-- 
2.7.4



More information about the U-Boot mailing list