]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - cmd/test.c
Init virtio before loading ENV from EXT4 or FAT
[thirdparty/u-boot.git] / cmd / test.c
index 258bfd880653d31a8196922f3ddaf876d402138b..b4c3eabf9f604279285e941f82399c5c89a38215 100644 (file)
@@ -4,9 +4,10 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 
-#include <common.h>
 #include <command.h>
 #include <fs.h>
+#include <log.h>
+#include <vsprintf.h>
 
 #define OP_INVALID     0
 #define OP_NOT         1
@@ -50,7 +51,8 @@ const struct {
        {0, "-e", OP_FILE_EXISTS, 4},
 };
 
-static int do_test(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_test(struct cmd_tbl *cmdtp, int flag, int argc,
+                  char *const argv[])
 {
        char * const *ap;
        int i, op, left, adv, expr, last_expr, last_unop, last_binop;
@@ -190,7 +192,8 @@ U_BOOT_CMD(
        "[args..]"
 );
 
-static int do_false(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_false(struct cmd_tbl *cmdtp, int flag, int argc,
+                   char *const argv[])
 {
        return 1;
 }
@@ -201,7 +204,8 @@ U_BOOT_CMD(
        NULL
 );
 
-static int do_true(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_true(struct cmd_tbl *cmdtp, int flag, int argc,
+                  char *const argv[])
 {
        return 0;
 }