]> git.dujemihanovic.xyz Git - u-boot.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)
commit7f0836a1105de86ef1b4ffdd608ebfe21504cb44
tree2086fe9b0abcdc1c69a1566363e3075ad3a2779b
parentc5ef2025579e91f132cd3cead8ebe8b4cd5dd2b6
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