Merge tag 'efi-2020-07-rc6' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
[oweals/u-boot.git] / cmd / ab_select.c
index d0d957d4f9d67a653f63ecf030d84c1f2414e24e..6298fcfb6044a9f45a31936fc7034f582f1432d7 100644 (file)
@@ -3,11 +3,14 @@
  * Copyright (C) 2017 The Android Open Source Project
  */
 
+#include <common.h>
 #include <android_ab.h>
 #include <command.h>
+#include <env.h>
+#include <part.h>
 
-static int do_ab_select(cmd_tbl_t *cmdtp, int flag, int argc,
-                       char * const argv[])
+static int do_ab_select(struct cmd_tbl *cmdtp, int flag, int argc,
+                       char *const argv[])
 {
        int ret;
        struct blk_desc *dev_desc;