[U-Boot] [Patch] Disable/Enable Flat I²C Commands

Peter Tyser ptyser at xes-inc.com
Thu Jan 29 19:23:58 CET 2009


On Thu, 2009-01-29 at 10:16 -0800, Ben Warren wrote:
> Jens Scharsig wrote:
> > Since CONFIG_I2C_CMD_TREE are defined, the old flat i2c commands are
> > still present.
> > This patch disables the old flat command by default, if
> > CONFIG_I2C_CMD_TREE is defined.
> > The new option CONFIG_I2C_CMD_FLAT makes it possible to use the flat
> > commands in addition of tree commands.
> >
> >   
> Controversial, maybe, but why not just get rid of the flat commands?  
> When I introduced the tree probably a couple of years ago, we said it 
> would deprecate the flat commands and that they'd go away in a couple of 
> releases.
> <snip>

We discussed this a few months ago as well and came to the same
conclusion as Ben.

http://article.gmane.org/gmane.comp.boot-loaders.u-boot/47755
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/48429

Best,
Peter



More information about the U-Boot mailing list