From: Wolfgang Denk Date: Wed, 15 Oct 2008 11:18:40 +0200 Subject: [U-Boot] [PATCH] Expose command table search for sub-commands In-Reply-To: <1222182302-27529-1-git-send-email-galak@kernel.crashing.org> References: <1222182302-27529-1-git-send-email-galak@kernel.crashing.org> Message-ID: <20081015091840.9B29781C99CF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <1222182302-27529-1-git-send-email-galak@kernel.crashing.org> you wrote: > Sub-command can benefit from using the same table and search functions > that top level commands have. Expose this functionality by refactoring > find_cmd() and introducing find_cmd_tbl() that sub-command processing > can call. > > Signed-off-by: Kumar Gala > --- > common/command.c | 14 ++++++++++---- > include/command.h | 7 +++++++ > 2 files changed, 17 insertions(+), 4 deletions(-) Applied to "next" branch. Thanks. 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: wd at denx.de All easy problems have already been solved.