common: Drop linux/bitops.h from common header
[oweals/u-boot.git] / cmd / disk.c
index c57561b3cb79b93d37038e1a2c3c0a9d58a52a69..8060e753ebda7bec8d58c4c67c00e8578998cb26 100644 (file)
@@ -4,18 +4,21 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */
 #include <common.h>
+#include <bootstage.h>
 #include <command.h>
 #include <cpu_func.h>
+#include <image.h>
+#include <log.h>
 #include <part.h>
 
-int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
+int common_diskboot(struct cmd_tbl *cmdtp, const char *intf, int argc,
                    char *const argv[])
 {
        __maybe_unused int dev;
        int part;
        ulong addr = CONFIG_SYS_LOAD_ADDR;
        ulong cnt;
-       disk_partition_t info;
+       struct disk_partition info;
 #if defined(CONFIG_LEGACY_IMAGE_FORMAT)
        image_header_t *hdr;
 #endif