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

2015-10-02 Thread Stefano Babic
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 a

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

2015-09-21 Thread Albert ARIBAUD (3ADEV)
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 I2