diff options
author | Gervais, Francois <FGervais@distech-controls.com> | 2019-02-16 21:10:32 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-02-19 16:58:23 -0500 |
commit | 84c7a1398f73d88e8e96dfee137e45e0c85a5d7a (patch) | |
tree | d70190860dc5da188d65dbfede999fa07399bb73 /cmd/fs.c | |
parent | 0cd9465c0bf41b75ebd58b72c3bcf888486521e9 (diff) | |
download | u-boot-84c7a1398f73d88e8e96dfee137e45e0c85a5d7a.tar.gz |
cmd/fs: fix build if CMD_BOOTEFI is not set
Fixes:
cmd/fs.c:29: undefined reference to `efi_set_bootdev'
Signed-off-by: Francois Gervais <fgervais@distech-controls.com>
Diffstat (limited to 'cmd/fs.c')
-rw-r--r-- | cmd/fs.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,8 +26,10 @@ U_BOOT_CMD( static int do_load_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { +#ifdef CONFIG_CMD_BOOTEFI efi_set_bootdev(argv[1], (argc > 2) ? argv[2] : "", (argc > 4) ? argv[4] : ""); +#endif return do_load(cmdtp, flag, argc, argv, FS_TYPE_ANY); } |