mx6sabreauto: Do not enable WEIM by default
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 10 Jul 2017 18:59:11 +0000 (15:59 -0300)
committerStefano Babic <sbabic@denx.de>
Wed, 12 Jul 2017 08:21:10 +0000 (10:21 +0200)
commitca62e5d043640c4b4120d7d8ed292e813a17b58d
tree1af7c249cb7d9e2943c3219dc4bad66be3615199
parent552a848e4f75e224515269a84a1155c84b762bc7
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>
board/freescale/mx6sabreauto/mx6sabreauto.c
configs/mx6sabreauto_defconfig
include/configs/mx6sabreauto.h