Re: [U-Boot] [RFC PATCH] i2c: i2c-uclass-compat: avoid any BSS usage

2016-07-31 Thread Simon Glass
On 28 July 2016 at 21:37, Heiko Schocher wrote: > Hello Vignesh, > > added Simon to cc... > > Am 28.07.2016 um 07:54 schrieb Vignesh R: >> >> >> >> On Tuesday 26 July 2016 11:53 AM, Heiko Schocher wrote: >>> >>> Hello Vignesh, >>> >>> Am 25.07.2016 um 12:56 schrieb Vignesh R:

Re: [U-Boot] [RFC PATCH] i2c: i2c-uclass-compat: avoid any BSS usage

2016-07-28 Thread Heiko Schocher
Hello Vignesh, added Simon to cc... Am 28.07.2016 um 07:54 schrieb Vignesh R: On Tuesday 26 July 2016 11:53 AM, Heiko Schocher wrote: Hello Vignesh, Am 25.07.2016 um 12:56 schrieb Vignesh R: As I2C can be used before DRAM initialization for reading EEPROM, avoid using static variables

Re: [U-Boot] [RFC PATCH] i2c: i2c-uclass-compat: avoid any BSS usage

2016-07-27 Thread Vignesh R
On Tuesday 26 July 2016 11:53 AM, Heiko Schocher wrote: > Hello Vignesh, > > Am 25.07.2016 um 12:56 schrieb Vignesh R: >> As I2C can be used before DRAM initialization for reading EEPROM, >> avoid using static variables stored in BSS, since BSS is in DRAM, which >> may not have been initialised

Re: [U-Boot] [RFC PATCH] i2c: i2c-uclass-compat: avoid any BSS usage

2016-07-26 Thread Heiko Schocher
Hello Vignesh, Am 25.07.2016 um 12:56 schrieb Vignesh R: As I2C can be used before DRAM initialization for reading EEPROM, avoid using static variables stored in BSS, since BSS is in DRAM, which may not have been initialised yet. Explicitly mark "static global" variables as belonging to the