cmd: efidebug: ease efi configuration dependency

Now it is clear that the command actually depends on interfaces,
not "bootefi bootmgr" command.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
This commit is contained in:
AKASHI Takahiro 2023-11-21 10:29:45 +09:00 committed by Heinrich Schuchardt
parent 0bef4b0123
commit 01adf0a408

View file

@ -1410,7 +1410,7 @@ static __maybe_unused int do_efi_test_bootmgr(struct cmd_tbl *cmdtp, int flag,
} }
static struct cmd_tbl cmd_efidebug_test_sub[] = { static struct cmd_tbl cmd_efidebug_test_sub[] = {
#ifdef CONFIG_CMD_BOOTEFI_BOOTMGR #ifdef CONFIG_BOOTEFI_BOOTMGR
U_BOOT_CMD_MKENT(bootmgr, CONFIG_SYS_MAXARGS, 1, do_efi_test_bootmgr, U_BOOT_CMD_MKENT(bootmgr, CONFIG_SYS_MAXARGS, 1, do_efi_test_bootmgr,
"", ""), "", ""),
#endif #endif
@ -1604,7 +1604,7 @@ U_BOOT_LONGHELP(efidebug,
" - show UEFI memory map\n" " - show UEFI memory map\n"
"efidebug tables\n" "efidebug tables\n"
" - show UEFI configuration tables\n" " - show UEFI configuration tables\n"
#ifdef CONFIG_CMD_BOOTEFI_BOOTMGR #ifdef CONFIG_BOOTEFI_BOOTMGR
"efidebug test bootmgr\n" "efidebug test bootmgr\n"
" - run simple bootmgr for test\n" " - run simple bootmgr for test\n"
#endif #endif