From: Peter Tyser Date: Tue, 14 Oct 2008 15:50:54 -0500 Subject: [U-Boot] [PATCH] cmd_i2c: Update available commands when CONFIG_I2C_CMD_TREE is defined In-Reply-To: <20081014203817.B9F7581C99CC@gemini.denx.de> References: <1222883937-2640-1-git-send-email-ptyser@xes-inc.com> <20081014203817.B9F7581C99CC@gemini.denx.de> Message-ID: <1224017454.18428.178.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 Hello Wolfgang, > In message <1222883937-2640-1-git-send-email-ptyser@xes-inc.com> you wrote: > > If CONFIG_I2C_CMD_TREE is defined, individual i2c commands such as > > 'imd', 'imm', 'imw', etc should not be available as their functionality > > is duplicated in the 'i2c' command. > > If I remember correctly, there has been discussion to keep both > variants in parallel for some transition time. > > I have added a link to your patch to the Feature Removal page at > http://www.denx.de/wiki/U-Boot/TaskFeatureRemovalSchedule > so we will not forget this as soon as e have a formal Feature Removal > file in place. > > Is this OK with you? According to the top-level README file since at least U-Boot v1.1.5: "CONFIG_I2C_CMD_TREE is a recommended option that places all I2C commands under a single 'i2c' root command. The older 'imm', 'imd', 'iprobe' etc. commands are considered deprecated and may disappear in the future." I personally think that the 2 year warning the README gave is sufficient but don't have a strong preference if this feature is removed now or at a later date. Either way, I think the task feature removal schedule in general is a great idea. Best, Peter