]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: dm: migrate dm command to use U_BOOT_CMD_WITH_SUBCMDS()
authorOvidiu Panait <ovpanait@gmail.com>
Sun, 8 May 2022 10:01:42 +0000 (13:01 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 21:47:16 +0000 (17:47 -0400)
commit02d469cb44878b929a95c2a8aa880b966c5f312a
tree2086fe9b0abcdc1c69a1566363e3075ad3a2779b
parent245ee37d1d3be58a05494f2b2f7c1ffb4dc6f193
cmd: dm: migrate dm command to use U_BOOT_CMD_WITH_SUBCMDS()

Migrate dm command to use U_BOOT_CMD_WITH_SUBCMDS() helper macro, to reduce
duplicated code. We can also drop the CONFIG_NEEDS_MANUAL_RELOC exception,
as the command list is updated post relocation in board_r.c initcall
initr_manual_reloc_cmdtable().

Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
cmd/dm.c