diff options
author | Fabio Estevam | 2017-07-10 15:59:11 -0300 |
---|---|---|
committer | Stefano Babic | 2017-07-12 10:21:10 +0200 |
commit | ca62e5d043640c4b4120d7d8ed292e813a17b58d (patch) | |
tree | 1af7c249cb7d9e2943c3219dc4bad66be3615199 /include/configs/mx6sabreauto.h | |
parent | 552a848e4f75e224515269a84a1155c84b762bc7 (diff) |
mx6sabreauto: Do not enable WEIM by default
WEIM cannot be used when I2C3 is enabled due to pin conflict, so keep
WEIM disabled by default.
I2C3 controls GPIO I2C expander (USB host and OTG have VBUS controlled by
the GPIO I2C expander), magnetometer, accelerometer.
Not disabling WEIM in U-Boot causes I2C3 to behave badly when booting
a NXP 4.1 kernel, which leads to probe failure on several devices,
including the lack of USB:
imx_usb 2184000.usb: Can't register ci_hdrc platform device, err=-517
By keeping WEIM disabled in U-Boot these kernel issues are gone.
Reported-by: Takashi Matsuzawa <tmatsuzawa@xevo.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/configs/mx6sabreauto.h')
-rw-r--r-- | include/configs/mx6sabreauto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/mx6sabreauto.h b/include/configs/mx6sabreauto.h index fd0d5ce0630..2c08fd1baa7 100644 --- a/include/configs/mx6sabreauto.h +++ b/include/configs/mx6sabreauto.h @@ -31,6 +31,7 @@ #include "mx6sabre_common.h" +#ifdef CONFIG_MTD_NOR_FLASH #define CONFIG_SYS_FLASH_BASE WEIM_ARB_BASE_ADDR #define CONFIG_SYS_FLASH_SECT_SIZE (128 * 1024) #define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */ @@ -40,6 +41,7 @@ #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 +#endif #define CONFIG_SYS_FSL_USDHC_NUM 2 #if defined(CONFIG_ENV_IS_IN_MMC) |