From: Wolfgang Denk Date: Tue, 22 Apr 2014 19:41:36 +0200 Subject: [U-Boot] [PATCH V2 2/2] eMMC: cmd_mmc.c adds the 'rpmb' sub-command for the 'mmc' command In-Reply-To: <5350C8BC.9000607@staubli.com> References: <1397218337-27204-1-git-send-email-p.aubert@staubli.com> <1397747435-24042-1-git-send-email-p.aubert@staubli.com> <1397747435-24042-3-git-send-email-p.aubert@staubli.com> <20140417195619.09D8538040B@gemini.denx.de> <5350C8BC.9000607@staubli.com> Message-ID: <20140422174136.41FAB380CE1@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 Pierre, In message <5350C8BC.9000607@staubli.com> you wrote: > > > I think that now, with more subcommands being added, we should > > convert the mmc code to proper subcommand handling. [It might even > > make sense to do so for "mmc rpmb", too.] > Do you think about the use of the macro U_BOOT_CMD_MKENT ? Yes - see for example how the "env" sub-commands are implemented. 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 Never underestimate the power of human stupidity when it comes to using technology they don't understand.