Re: [U-Boot] [Patch V3] i2c: mxc: add a condition in case the parameter is NULL

2016-01-03 Thread Stefano Babic
On 18/12/2015 10:38, Gong Qianyu wrote: > This could avoid executing the code that only applies to i.MX platforms. > > The bus_i2c_init() is called before relocation and will assgin value > to a static variable. If U-Boot is then still running in a flash > device, it's theoretically not allowed to

Re: [U-Boot] [Patch V3] i2c: mxc: add a condition in case the parameter is NULL

2015-12-30 Thread Qianyu Gong
E: [U-Boot] [Patch V3] i2c: mxc: add a condition in case the > parameter is > NULL > > > > > -Original Message- > > From: Heiko Schocher [mailto:h...@denx.de] > > Sent: Friday, December 18, 2015 6:24 PM > > To: Gong Qianyu-B52263 > > Cc: u-boo

Re: [U-Boot] [Patch V3] i2c: mxc: add a condition in case the parameter is NULL

2015-12-20 Thread Qianyu Gong
> -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Friday, December 18, 2015 6:24 PM > To: Gong Qianyu-B52263 > Cc: u-boot@lists.denx.de; Stefano Babic > Subject: Re: [U-Boot] [Patch V3] i2c: mxc: add a condition in case the > parameter is

Re: [U-Boot] [Patch V3] i2c: mxc: add a condition in case the parameter is NULL

2015-12-18 Thread Heiko Schocher
Hello Gong Qianyu, added Stefano Babic to cc as he is the imx maintainer. Am 18.12.2015 um 10:38 schrieb Gong Qianyu: This could avoid executing the code that only applies to i.MX platforms. The bus_i2c_init() is called before relocation and will assgin value to a static variable. If U-Boot is

[U-Boot] [Patch V3] i2c: mxc: add a condition in case the parameter is NULL

2015-12-18 Thread Gong Qianyu
This could avoid executing the code that only applies to i.MX platforms. The bus_i2c_init() is called before relocation and will assgin value to a static variable. If U-Boot is then still running in a flash device, it's theoretically not allowed to write data to flash without an erasing operation.