]> git.baikalelectronics.ru Git - uboot.git/commit
board: gateworks: venice: poll I2C lines to wait for GSC firmware
authorTim Harvey <tharvey@gateworks.com>
Fri, 11 Nov 2022 16:03:07 +0000 (08:03 -0800)
committerStefano Babic <sbabic@denx.de>
Tue, 31 Jan 2023 17:08:23 +0000 (18:08 +0100)
commit7fc26a814c2e7765c854897a3eb1b2c7762a7cf9
tree105c8095a15ff0e4b65b797f456c644ec08f0420
parent6753f14dc723020d6653145b2326dd9cab26c334
board: gateworks: venice: poll I2C lines to wait for GSC firmware

In some situations the GSC firmware where the EEPROM containing the
model and DRAM configuration may not be ready by the time the SoC
is ready to talk to it over I2C.

Instead of a hard delay, poll the I2C lines to wait until they are
released to avoid the I2C drivers 'Arbitation lost' error message.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/dts/imx8mm-venice-u-boot.dtsi
arch/arm/dts/imx8mm-venice.dts
arch/arm/dts/imx8mn-venice-u-boot.dtsi
arch/arm/dts/imx8mn-venice.dts
arch/arm/dts/imx8mp-venice-u-boot.dtsi
arch/arm/dts/imx8mp-venice.dts
board/gateworks/venice/spl.c