diff options
Diffstat (limited to 'cmd/fs.c')
-rw-r--r-- | cmd/fs.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,7 @@ #include <common.h> #include <command.h> #include <fs.h> +#include <efi_loader.h> static int do_size_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { @@ -26,6 +27,7 @@ U_BOOT_CMD( static int do_load_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { + efi_set_bootdev(argv[1], (argc > 2) ? argv[2] : ""); return do_load(cmdtp, flag, argc, argv, FS_TYPE_ANY); } |