[U-Boot] [PATCH v3 0/6] cmd: Simplify support for sub-commands

Boris Brezillon boris.brezillon at bootlin.com
Mon Dec 3 21:44:52 UTC 2018


On Mon,  3 Dec 2018 22:14:52 +0100
Boris Brezillon <boris.brezillon at bootlin.com> wrote:

> Hello,
> 
> Here is the 3nd version of the sub-cmd patchset. This version fixes a
> few typos in commit messages.


> 
> Regards,
> 
> Boris
> 
> Boris Brezillon (6):
>   common: command: Fix command auto-completion
>   common: command: Expose a generic helper to auto-complete sub commands
>   common: command: Rework the 'cmd is repeatable' logic
>   command: commands: Add macros to declare commands with subcmds
>   cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands

I found a bug in this patch.

Please ignore this version, I'll send a new one.

>   cmd: adc: Use the sub-command infrastructure
> 
>  cmd/adc.c         |  33 +---
>  cmd/dtimg.c       |   2 +-
>  cmd/help.c        |   2 +-
>  cmd/mmc.c         |   4 +-
>  cmd/mtd.c         | 476 +++++++++++++++++++++++++++-------------------
>  common/command.c  |  68 ++++++-
>  include/command.h | 133 ++++++++++++-
>  7 files changed, 477 insertions(+), 241 deletions(-)
> 



More information about the U-Boot mailing list