Re: [PATCH] cmd: dm: migrate dm command to use U_BOOT_CMD_WITH_SUBCMDS()

2022-06-07 Thread Tom Rini
On Sun, May 08, 2022 at 01:01:42PM +0300, Ovidiu Panait wrote: > 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_m

[PATCH] cmd: dm: migrate dm command to use U_BOOT_CMD_WITH_SUBCMDS()

2022-05-08 Thread Ovidiu Panait
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 --- cmd/dm.c |