]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands
authorBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 3 Dec 2018 21:54:22 +0000 (22:54 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:54 +0000 (15:28 -0500)
commit5c7964febf60b2b135fb2e1a9693d7726601100d
tree40850cc37ed675966198a79d4341130ab93d1cd8
parent3c248047aefc0bbde0523fff29d8c8b59df3b158
cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands

It's way simpler this way, and we also gain auto-completion support for
free (MTD name auto-completion has been added with mtd_name_complete())

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/mtd.c