summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2019-12-28 10:44:44 -0700
committerJagan Teki <[email protected]>2020-01-24 23:06:48 +0530
commit65de5394640e300642de5121b2d9e5087d4783dd (patch)
tree8109ed871d0eaf8ae5ea6a593af6c56b0f56e96a /cmd
parent34971eec84e25773e29acfeeeae5ccb88f197ab4 (diff)
common: Move functions for loading from fat/ext2 to fs.h
These are filesystem functions and belong in the filesystem header file. Move them. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fat.c2
-rw-r--r--cmd/pxe.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/cmd/fat.c b/cmd/fat.c
index 4b9a7eaab05..50df127f6d2 100644
--- a/cmd/fat.c
+++ b/cmd/fat.c
@@ -31,7 +31,7 @@ U_BOOT_CMD(
" and determine its size."
);
-int do_fat_fsload (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_fat_fsload(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
return do_load(cmdtp, flag, argc, argv, FS_TYPE_FAT);
}
diff --git a/cmd/pxe.c b/cmd/pxe.c
index 194a366aa15..bce6728875a 100644
--- a/cmd/pxe.c
+++ b/cmd/pxe.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <command.h>
+#include <fs.h>
#include <net.h>
#include "pxe_utils.h"