include/ata.h: remove invalid links
[oweals/u-boot.git] / cmd / disk.c
index 9e635c1172de0fa99a73c4c41ffb49449a681e8e..15973b7d132e19ee1e07621001057b8547156564 100644 (file)
@@ -5,6 +5,8 @@
  */
 #include <common.h>
 #include <command.h>
+#include <cpu_func.h>
+#include <image.h>
 #include <part.h>
 
 int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
@@ -123,7 +125,7 @@ int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
        flush_cache(addr, (cnt+1)*info.blksz);
 
        /* Loading ok, update default load address */
-       load_addr = addr;
+       image_load_addr = addr;
 
        return bootm_maybe_autostart(cmdtp, argv[0]);
 }