cmd: add "always" attribute for some commands

They are basic commands even in critical cost down version

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0ad56056133226c25cbcfb70e54d519eb7582341
This commit is contained in:
Joseph Chen 2020-06-16 17:31:57 +08:00
parent 558b8198d4
commit b704ab33c2
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ U_BOOT_CMD(
" passing 'arg' as arguments" " passing 'arg' as arguments"
); );
U_BOOT_CMD( U_BOOT_CMD_ALWAYS(
rbrom, 1, 0, do_reboot_brom, rbrom, 1, 0, do_reboot_brom,
"Perform RESET of the CPU", "Perform RESET of the CPU",
"" ""

View File

@ -113,7 +113,7 @@ out:
return CMD_RET_FAILURE; return CMD_RET_FAILURE;
} }
U_BOOT_CMD( U_BOOT_CMD_ALWAYS(
boot_fit, 2, 1, do_boot_fit, boot_fit, 2, 1, do_boot_fit,
"Boot FIT Image from memory or boot/recovery partition", "Boot FIT Image from memory or boot/recovery partition",
"boot_fit [addr]" "boot_fit [addr]"

View File

@ -21,7 +21,7 @@ static int do_download(cmd_tbl_t *cmdtp, int flag,
return 0; return 0;
} }
U_BOOT_CMD( U_BOOT_CMD_ALWAYS(
download, 1, 1, do_download, download, 1, 1, do_download,
"enter rockusb/bootrom download mode", "" "enter rockusb/bootrom download mode", ""
); );