Re: [U-Boot] [RFC PATCH 0/4] cmd: Simplify support for sub-commands

2018-11-18 Thread Boris Brezillon
+Tom, Marek as I realize I only sent this to the ML, and I'm actually expecting feedback from maintainers. Let me know if you think I should Cc other people. On Fri, 16 Nov 2018 23:38:08 +0100 Boris Brezillon wrote: > Hello, > > This patch series aims at simplifying the command parsing logic do

[U-Boot] [RFC PATCH 0/4] cmd: Simplify support for sub-commands

2018-11-16 Thread Boris Brezillon
Hello, This patch series aims at simplifying the command parsing logic done in pretty much all the cmd/foo.c files by adding a few macros that help defining sub-commands attach to the main entry point. When you use those macros you also get sub-command auto-completion for free (the rest of the au