• Albert ARIBAUD \\(3ADEV\\)'s avatar
    I2C: mxc_i2c: make I2C1 and I2C2 optional · 03544c66
    Albert ARIBAUD \\(3ADEV\\) authored
    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: default avatarAlbert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
    03544c66
Name
Last commit
Last update
..
muxes Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
adi_i2c.c Loading commit data...
cros_ec_ldo.c Loading commit data...
cros_ec_tunnel.c Loading commit data...
davinci_i2c.c Loading commit data...
davinci_i2c.h Loading commit data...
designware_i2c.c Loading commit data...
designware_i2c.h Loading commit data...
fsl_i2c.c Loading commit data...
fti2c010.c Loading commit data...
fti2c010.h Loading commit data...
i2c-emul-uclass.c Loading commit data...
i2c-gpio.c Loading commit data...
i2c-uclass-compat.c Loading commit data...
i2c-uclass.c Loading commit data...
i2c-uniphier-f.c Loading commit data...
i2c-uniphier.c Loading commit data...
i2c_core.c Loading commit data...
ihs_i2c.c Loading commit data...
kona_i2c.c Loading commit data...
lpc32xx_i2c.c Loading commit data...
mv_i2c.c Loading commit data...
mv_i2c.h Loading commit data...
mvtwsi.c Loading commit data...
mxc_i2c.c Loading commit data...
mxs_i2c.c Loading commit data...
omap24xx_i2c.c Loading commit data...
omap24xx_i2c.h Loading commit data...
pca9564_i2c.c Loading commit data...
ppc4xx_i2c.c Loading commit data...
rcar_i2c.c Loading commit data...
rk_i2c.c Loading commit data...
s3c24x0_i2c.c Loading commit data...
s3c24x0_i2c.h Loading commit data...
sandbox_i2c.c Loading commit data...
sh_i2c.c Loading commit data...
sh_sh7734_i2c.c Loading commit data...
soft_i2c.c Loading commit data...
tegra_i2c.c Loading commit data...
tsi108_i2c.c Loading commit data...
zynq_i2c.c Loading commit data...