]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitb0d546f2c16dff8bae8d533a75a25bbd0ba157a8
tree1af7c249cb7d9e2943c3219dc4bad66be3615199
parente6c6e1efb2bb8b10268efd6bee3d769e6c77e750
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