efi_loader: add EFI_MEMORY_SP to memory attributes
[oweals/u-boot.git] / cmd / read.c
index 82c2d9ad994ed1800c9c757b915ba67a018b8251..34f53f9a292e58571cdd0efe3b2d9c93bdf5826e 100644 (file)
 #include <command.h>
 #include <part.h>
 
-int do_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_read(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
        char *ep;
        struct blk_desc *dev_desc = NULL;
        int dev;
        int part = 0;
-       disk_partition_t part_info;
+       struct disk_partition part_info;
        ulong offset = 0u;
        ulong limit = 0u;
        void *addr;