]> git.dujemihanovic.xyz Git - u-boot.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)
commit9671243e8d10defb06f2ea24fac138c87697d7fc
tree40850cc37ed675966198a79d4341130ab93d1cd8
parentc0cf06e523cbe50dbf38d5c81d0595f5b8517f4a
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