summaryrefslogtreecommitdiff
path: root/cmd/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/disk.c')
-rw-r--r--cmd/disk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/disk.c b/cmd/disk.c
index 437c175374..15973b7d13 100644
--- a/cmd/disk.c
+++ b/cmd/disk.c
@@ -6,6 +6,7 @@
#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,
@@ -124,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]);
}