]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: cpu: migrate cpu command to U_BOOT_CMD_WITH_SUBCMDS()
authorOvidiu Panait <ovpanait@gmail.com>
Tue, 31 May 2022 18:14:22 +0000 (21:14 +0300)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:16:00 +0000 (14:16 +0200)
commit15c924a7437b9763b1b84aa693a842c49184586d
treed7042bc934b9f13c0b0182729ed4d5003580b94a
parentd58c007498258b73d9eb5e3b24973578498fc341
cmd: cpu: migrate cpu command to U_BOOT_CMD_WITH_SUBCMDS()

Migrate cpu command to use U_BOOT_CMD_WITH_SUBCMDS() helper macro, to
reduce duplicated code. This also fixes the cpu command on boards that
enable CONFIG_NEEDS_MANUAL_RELOC.

Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Link: https://lore.kernel.org/r/20220531181435.3473549-1-ovpanait@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
cmd/cpu.c