Dear Timur, In message <[EMAIL PROTECTED]> you wrote: > > The PRINTD is irrelevant. If these platforms really want to debug single I2C > operations, they can add the code back. It's just debug code, so I would > think > that it's not worth sacrificing the improved code simplicity just for that.
This is your opinion. I think you cannot really speak for others. I think you should ask the respective maintainers of the code first before changing their code. > > And when you claim "We can save space" - which sort of space are you > > talking about? Dos this reduce the memory footprint of the code? > > I ran a couple tests, and u-boot.bin didn't change in size, but technically, > it > should be smaller because the compiler will optimize the code into a normal > call > to i2c_read or i2c_write. Hm... why didn't the size change, then? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Quantum Mechanics is God's version of "Trust me." _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot