[U-Boot] [PATCH v2 2/3] I2C: mxc_i2c: make I2C1 and I2C2 optional

Stefano Babic sbabic at denx.de
Fri Oct 2 10:43:22 CEST 2015


On 21/09/2015 22:43, Albert ARIBAUD (3ADEV) wrote:
> The driver assumed that I2C1 and I2C2 were always enabled,
> and if they were not, then an asynchronous abort was (silently)
> raised, to be caught much later on in the Linux kernel.
> 
> Fix this by making I2C1 and I2C2 optional just like I2C3 and I2C4
> are.
> 
> To make the change binary-invariant, declare I2C1 and I2C2 in
> every include/configs/ file which defines CONFIG_SYS_I2C_MXC.
> 
> Also, while updating README about CONFIG_SYS_I2C_MXC_I2C1 and
> CONFIG_SYS_I2C_MXC_I2C2, add missing descriptions for I2C4 speed
> (CONFIG_SYS_MXC_I2C4_SPEED) and slave (CONFIG_SYS_MXC_I2C4_SLAVE)
> config options.
> 
> Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud at 3adev.fr>
> ---

Applied to u-boot-imx, thanks!

Best regards,
Stefano Babic



-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list