From: Peter Tyser Date: Thu, 29 Jan 2009 12:23:58 -0600 Subject: [U-Boot] =?iso-8859-1?q?=5BPatch=5D_Disable/Enable_Flat_I=B2C__Co?= =?iso-8859-1?q?mmands?= In-Reply-To: <4981F273.2030900@gmail.com> References: <4981F273.2030900@gmail.com> Message-ID: <1233253439.18767.5.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. > 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